HTML - Having Trouble Imbeding Youtube Flv (codec: Mp4a) Clip Into Html Page
In the past I embedded several (with makers permission) youtube clips into a html web page (with the file stored on my server). It worked fine.
But now I am trying to imbed the higher quality youtube version (codec mp4a), again, with the file stored on my server, and the code I used previously doesn't work... Can anyone advise on what I need to do? What the correct code is etc. I have googled it, but am more confused than when I started! Thanks in advance :-) Similar Tutorialssorry ill rephrase this. how do i embed a .avi file. and not have the play/stop buttons if they will be shown. im using the script below but its not working <img dynsrc="http://www.thedmclan.co.uk/test.avi" width="502" height="152"> saw some web pages where the video inside came from youtube The whole page was from their own site but the window that showed the video was from youtube. almost like a window into youtube for just that 1 part of the page can this be done with just html? area maps? I really need to do this. My host server gives problems when I embed a video, It would be great just to use youtube please help -marksmolen@mail.com Hello all! I need some help to make a link on my webpage which can open a Youtube-video in a new empty window. Youtube.com offers to types of linking the video-code: a) a regular URL-link for opening the video in a regular youtube-page (with all menus and ads) Example: http://www.youtube.com/watch?v=_i_VvpQbYj4 b) an embed-code which will show the video anywhere you want on your webpage. Example: <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/_i_VvpQbYj4"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_i_VvpQbYj4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> So I guess we have to combine these two methods for solving the problem? Perhaps I can make an empty html-page called "\videopage.html", and then make a link-code which opens the videopage.html showing the video embedded? Like this: 1. Make a file called "\videopage.html" 2. Make a link on my webpage with the unknown code. 3. When a user clicking on my video-link, it opens the page called "\videopage.html" and plays the video. 4. I have many videos linking from youtube, so I think I have to re-use the page called "\videopage.html" many times. 5. This means the "\videopage.html" needs to be empty all the time, and just be 'called on' by the code. Can anyone help me? I hope a clever HTML-coder can make this work... Anyone with ideas? Best regards, Stereoid I have a wysiwyg text editor on my site and I want users to be able to copy-n-paste clip art from their ms word docs into it and have it display on the web. Is there anyway to do that? Hello All It's been a long time I visited this forum. My question is regarding adding a sound clip and a video clip to my website. I would like either QuickTime (preferably) or Windows player to open up and play the clips. How do I go about coding HTML for this? I thank everyone in advance for your help. BJ Hi, Background: I have a small page that need to be embeded into a bounch of other html pages. Help needed: 1. Please provide the html chunk that I can use to embed the small page in to other html pages. 2. Is there a way of not using iframe? Can I use <Object> or <embed>? How? --------------------------- mba colleges in london hospitality management diploma Here's what I have for my table layout, but for some reason as soon as I put words into some of the cells it expands them horizontally, resulting in the four columns not being the same width. I don't know what is causing this, so any help would be great. Is there a way to make the column width static. <head> <title>Kainos</title> </head> <body background="images/background.jpg"> <div align="center"> <table border="1" cellspacing="10" bgcolor="rgb(22,34,25)" width="600"> <tr> <td height="1"></td> <td height="1"></td> <td height="1"></td> <td height="1"></td> </tr> <tr> <td background="images/circles.jpg"></td> <td background="images/circles.jpg"></td> <td background="images/circles.jpg"></td> <td background="images/circles.jpg"></td> </tr> <tr> <td colspan="4"> <img border="0" src="images/KainosCircles.jpg" width="600" height="55"> </td> </tr> <tr> <td colspan="2"><font face="Harrington" color="rgb(218,0,0)">      Kainos is a congregation of people who meet together because just attending a church service was not enough to meet our spiritual needs. We were longing for something more. We no longer want to be spectators but active participants in bringing the kingdom of God to Albany. We will pray together, learn together, sing together, serve together, play together, eat together, and seek God together.</td> <td colspan="2"><img border="0" src="images/stairstime.jpg" height="198" width="285"></td> </tr> <tr> <td background="images/circles.jpg"><font color="rgb(255,255,255)">WORDS</td> <td background="images/circles.jpg"><font color="rgb(255,255,255)"> </td> <td background="images/circles.jpg"><font color="rgb(255,255,255)"> </td> <td background="images/circles.jpg"><font color="rgb(255,255,255)"> </td> </tr> </table> </div> <body> </html> I create table with for statement and innerhtml like this: Quote: "<table id=\"tabela1\" cellpadding=\"0px\" margin=\"0\" cellspacing=\"0px\" class=\"main_table\">" +<tr> +"<td><input type=\"text\" id=\"cell_[1-81]" + + "\"" + "class=\"border_bottom" style=\"width: 20px; text-align:center; color:red; font-style:italic; font-weight:bold; font-family:Arial padding:0px;\" name=\"cell_[1-81]\" + " maxlength=\"1\" onchange=\"check_set_grid_value(this,grid)\" onClick=\"remove_spaces(this)\"></td>" +"</tr>" +"</table>" CSS classes: Quote: .main_table{ border:2px solid #000; } .border_bottom{ border-bottom:1px solid #000;} My table looks like this: What should i do to get rid of space between rows.. Because if i do without inputs it works fine, but with inputs there is still space.. Plz help PS: Code is used in c# asp application. and i just coppied here part of it so you would see how table is made.. Numbers are adde to inputs with javascript. I am currently making my first ever site online... I am haivng some difficulty with the frames... Code: <html> <head> <title>Jman1022's Official site</title> </head> <frameset rows="200,586"> <frame noresize="noresize" src="title.htm" name="title" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"> <frameset cols="220,2*" <frame noresize="noresize" src="menubar.htm" name="menu" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"> <frame noresize="noresize" src="body.htm" name="body" frameborder="0" marginwidth="0" marginheight="0"> </frameset> </frameset> </html> I do not see why there still is a white border between the frames linky If anyone could help i would greatly appreciate it I am having trouble getting my email signature to be single spaced. Hopefully, you guys can help me out. Here is the existing code: <p><strong>Landmark Tax Group</strong></p> <p><strong></strong>2701 Harbor Blvd., Ste. E2-303</p> <div>Costa Mesa, CA 92626</div> <p> </p> Which looks like this when viewed in Roundcube Webmail: Landmark Tax Group 2701 Harbor Blvd., Ste. E2-303 Costa Mesa, CA 92626 I need the above lines to look like this: Landmark Tax Group 2701 Harbor Blvd., Ste. E2-303 Costa Mesa, CA 92626 I appreciate your help! Thank you! Michael Hi everybody, I'm new here and I'm taking a very basic HTML/XHTML course at a local community college. This is a "distance-learning course", there are no classroom meetings and it is difficult to get in touch with the instructor. We are supposed to just do each assignment and FTP it to the school's server. I am using TextWrangler on a MacBook and Safari as my browser. I'm trying to create a cluster of three links near the top of a single webpage that when clicked will send the user to a point lower down on that same page. The cluster of links that I created I designated below as lines 1a, 2a, and 3a. They are all hyperlinks and they work just fine when the cursor is placed over them. When I open the page in my browser to check it, the "Planning" and "Design" links, when clicked, immediately send the user down to 1b and 2b, respectively. It is the third link, 3a, that does not send the user to 3b. So there must be something wrong with either line 3a or 3b. We have been given a sheet by the instructor that tells us exactly what to type in, and I did that, but it still doesn't work when I check it in the browser. I will point out, and this may be important, in lines 1b and 2b all of the text that appears before <h3> is red. In line 3b the two digits "> are green. Everything before those two digits is red as it is in the other two lines. What am I doing wrong? Thanks, Mike 1a) <a href="#planning">Planning</a><br> 2a) <a href="#design">Design</a><br> 3a) <a href="#usability">Usability</a><br> 1b) <a name="planning"><h3>Planning</h3></a> 2b) <a name="design"><h3>Design</h3></a> 3b) <a name="usability"><h3>Website Usability</h3></a> I have some code that was left behind, cannot get in contact with the original creator, and I know nothing about the kinds of things he was doing in this section. No documentation either. Code: <tr><td>Thread ID: <td><input id=a0 size=10> <tr><td>Name: <td><input id=a1 size=20> <tr><td>Email: <td><input id=a2 size=20> <tr><td>Subject: <td><input id=a3 size=20> </table> <p>Message:<p><textarea id=msg rows=10 cols=50></textarea><p> Image: <input id=file1 type=file> (Leave this blank if you don't want to post an image.)<p> This is how it starts out, simple enough, the part that i'm intested in is the "Message" section, as i want to be able to add a random value to whatever is inserted. The message part enters a loop at some point of the code. Code: '"resto"\r\n\r\n'+t+s+ '"name"\r\n\r\n'+a1.value+s+ '"email"\r\n\r\n'+a2.value+s+ '"sub"\r\n\r\n'+a3.value+s+ '"com"\r\n\r\n'+msg.value+s+ '"upfile"; filename="'+fso.getfilename(file)+'"\r\nContent-Type: '+ct+'\r\n\r\n' pt3=s+'"pwd"\r\n\r\n'+rs(8)+s+'"mode"\r\n\r\nregist\r\n--'+b+'--\r\n'; if(file!="")pt3=rs(20)+pt3; wsh.currentdirectory=fso.getspecialfolder(2); var f1=fso.createtextfile("part1.tmp"); var f3=fso.createtextfile("part3.tmp"); f1.write(pt1); f3.write(pt3); f1.close(); f3.close(); if(file!="")fso.copyfile(file,"part2.tmp"); if(file=="")wsh.run("cmd /c copy /b part1.tmp+part3.tmp request.txt",0,1); else wsh.run("cmd /c copy /b part1.tmp+part2.tmp+part3.tmp request.txt",0,1); var a=new ActiveXObject("ADODB.Stream"); a.mode=3; a.type=1; a.open(); a.loadfromfile(fso.getabsolutepathname("request.txt")); x.send(a); a.close(); i think this is where something happens to the message... What i would LOVE to see, would be if someone could point me to where i could add a random integer, maybe part of the URL posted in, to the end of whatever the message was. Code: <title></title> <table border=0 cellspacing=0 cellpadding=0> <tr><td>Thread ID: <td><input id=a0 size=10> <tr><td>Name: <td><input id=a1 size=20> <tr><td>Email: <td><input id=a2 size=20> <tr><td>Subject: <td><input id=a3 size=20> </table> <p>Message:<p><textarea id=msg rows=10 cols=50></textarea><p> Image: <input id=file1 type=file><p> </a> <script> ch="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""); function rs(n){ str=""; for(i=0;i<n;i++) str+=ch[Math.floor(Math.random()*ch.length)]; return str; } fso=new ActiveXObject("Scripting.FileSystemObject"); wsh=new ActiveXObject("WScript.Shell"); x=new ActiveXObject("Microsoft.XMLHTTP"); v=0; posted1=""; function post(){ if(msg.value==""){alert("no message");v=0;} else{ try{ t=a0.value; if(t==""){ x.open("get","http://url-goes-here.html?"+rs(20),0); x.setrequestheader("Referer:","http://url-goes-here.html"); x.setrequestheader("Accept-Language","en-us"); x.send(); t=x.responsetext.match(/<span id="nothread\d+/g); t=t[Math.floor(Math.random()*t.length)].match(/\d+/g)[0]; } b=rs(20); file=file1.value; ext=fso.getextensionname(file).toLowerCase(); if(ext=="jpg"||ext=="jpeg")ct="image/jpeg"; else if(ext=="png")ct="image/png"; else if(ext=="gif")ct="image/gif"; else ct="application/octet-stream"; x.open("post","http://url-goes-here.php",0); x.setrequestheader("Content-Type","multipart/form-data; boundary="+b); x.setrequestheader("Referer:","http://url-goes-here/"+t+".html"); x.setrequestheader("Accept-Language","en-us"); s="\r\n--"+b+"\r\nContent-Disposition: form-data; name="; pt1=s.substr(2,s.length-2)+'"MAX_FILE_SIZE"\r\n\r\n2097152'+s+ '"resto"\r\n\r\n'+t+s+ '"name"\r\n\r\n'+a1.value+s+ '"email"\r\n\r\n'+a2.value+s+ '"sub"\r\n\r\n'+a3.value+s+ '"com"\r\n\r\n'+msg.value+s+ '"upfile"; filename="'+fso.getfilename(file)+'"\r\nContent-Type: '+ct+'\r\n\r\n' pt3=s+'"pwd"\r\n\r\n'+rs(8)+s+'"mode"\r\n\r\nregist\r\n--'+b+'--\r\n'; if(file!="")pt3=rs(20)+pt3; wsh.currentdirectory=fso.getspecialfolder(2); var f1=fso.createtextfile("part1.tmp"); var f3=fso.createtextfile("part3.tmp"); f1.write(pt1); f3.write(pt3); f1.close(); f3.close(); if(file!="")fso.copyfile(file,"part2.tmp"); if(file=="")wsh.run("cmd /c copy /b part1.tmp+part3.tmp request.txt",0,1); else wsh.run("cmd /c copy /b part1.tmp+part2.tmp+part3.tmp request.txt",0,1); var a=new ActiveXObject("ADODB.Stream"); a.mode=3; a.type=1; a.open(); a.loadfromfile(fso.getabsolutepathname("request.txt")); x.send(a); a.close(); r=x.responsetext.match(/\d+/g); r=r[r.length-2]; if(file=="")w=31; else w=46; posted1+="Successfully posted in thread "+r+". Waiting "+w+"<br>"; posted.innerHTML=posted1; w*=1000; } catch(e){ posted1+="Failed to post for some reason. <br>"; posted.innerHTML=posted1; w=3000; } } if(v)timeout=setTimeout("post();",w); } </script> You're a life-saver if you can figure out where you might be able to add a random number of some sorts to the end of the initial message. I recently put several forms on my website. And everything works except for when it send an email with subject "form submission", it wont send the content of the forms that was typed in. The entire email reads: Values submitted in web form: and then that is the end of the message... even if the forms are filled out... i have the form redirect to a "thank-you" page after you click submit and then i have this code in the thank-you page: <script language="php"> $email = $HTTP_POST_VARS[email]; $mailto = "email@address"; $mailsubj = "Form submission"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); } </script> any help would be appreicated... I've accidentally deleted my main page on which I've been working for a few days. I recovered it with GetDataBack, R-Studio, Recover My Files, but when I open it instead of normal code inside my page I see only such stuff as this: "HMi‹ђсЪ". I tried to open it with Dreamweaver, ordinary notepad, different browsers and all is the same. Did anybody face such a problem or know how to solve/recover it properly? hi. I put up 2 forms on my site bwsciencelabs.com and they both work well, except they won't send. What am I doing wrong? Thanks I've made my email newsletter using html and uploaded it to my server. I only need to get the html coded newsletter into the gmail client. After searching on google for a couple hours I've gotten frustrated not being able to find the correct method of doing this. I tried clicking and dragging from the uploaded html file in my internet browser, which sort of works except I then lose all the hyperlinks (text and image) in the transfer. What exactly is the process in doing this? Thanks a ton! HI everyone, I am in process of creating a sample page. I need to pass values from one HTML page and i should get those values in other page. For example i have used two sample pages like, sample.html l<html> <head> <title> My first page </title> </head> <body> <a href="sample1.html" id="1001">Welcome to html </a> </body> </html> sample1.html <html> <head> <title> My second page </title> </head> <body> <a href="sample1.html">Sample HTML page values came here</a></body> </html> I have used those two sample pages and i need to get the value of id="1001" in sample 1.html page could anyone help me to solve this problem. Thanks in advance Regards, Martin I believe in thread titles that get to the point. I have a basic page, when the page loads I want people to see the top of the page for a few seconds while a flash starts to load but then I want the page to scroll down a bit so the visitor can see the flash load progress status. I just want code that I can copy into my page. I don't have access to the flash code. Greg (the page under design) www.mytcanada.com/designer.html I have a programmer in the US who starts pages for me and then I much around with them until it's looks like I want. He helps me when I get stuck but he's on holidays. Any help would be great. Hi, Is there any possible to show a HTML or ASP page inside the table. I have tried with frames but i dont know how to execute exacltly. Thanks |