HTML - Embed Tag Not Used Anymore?!
Hello there,
Heres a question, I started a document and inserted flash using dreamweaver. Dreamweaver made an <object> tag and its <param> tags, Also it put an <embed> tag inside that whole deal. using HTML 4.0 Strict DTD, when i validated the document, the was an error that said: Code: The tag name: "embed" Not found in currently active versions.[HTML 4.0] I know that this little trick was used to make sure the flash would play in IE and FF and all browsers for that manner because of the different tag support. So with that said, how do we ensure today that the flash will play in all browsers if we cant use <embed> anymore with current active versions? Thanks in advance Similar Tutorialsdoes anyone else have this problem? at work, we have Dreamweave MX Student edition. The tip/hint for coding seems to be enable, but when i type in css, there are no code hint. any help? NOTE: running on Mac OS X Hi, i know that iframe isnt xhtml compatible, what do i use instead? is it the embed tags? If so, how do i use them? i take it i dont just replace the word iframe with embed? Thanks! For some reason this code won't work. The black window shows up with controls but the video doesn't play. The filename and directory are correct. <object id="MediaPlayer" width="200" height="200" classid="22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="FileName" value="gts1.wmv"> <param name="AutoStart" value="True"> <param name="ShowControls" value="True"> <param name="ShowStatusBar" value="True"> <param name="ShowDisplay" value="True"> <param name="AutoRewind" value="True"> <embed type="application/x-mplayer2"pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="200" height="200" src="gts1.wmv" filename="gts1.wmv" autostart="True" showcontrols="True" showstatusbar="True" showdisplay="True" autorewind="Flase"> </embed> Hi, Is it possible to embed a quicktime .mov file and not allow the user to download the video? Thanks for the help, B Why won't it work: HTML Code: <object width="300" height="42"> <param name="src" value="http://platnium.fileave.com/No_More_Memory.mp3"> <param name="autoplay" value="true"> <param name="controller" value="true"> <param name="bgcolor" value="#ffffff"> <embed src="http://platnium.fileave.com/No_More_Memory.mp3" autostart="true" loop="true" width="300" height="42" controller="true" ></embed> </object> I hope this is the correct forum. I have a large swf file that until some of this loads all the user sees is a blank box on the page. What I would like to do is show a gif or jpg there that is small enough to show the control bars of the swf file so the user can see something is going on and then when enough loads they can push play and see the video not the gif. I wanted to use preloaders but my client says no they want a static gif above the player controls. I have seen this done on other sites but I cannot figure this out. I code in the image with a div tag above the swf embed code using transparent in the embed code and all I see is a blank screen until the movie has downloaded and my controls are gone when it loads. So I am wondering do I need a transparent title page in the swf so it will show the image or what? Code where image will go: (<div id="flashcontent"> This text is replaced by the Flash movie. </div> ) Here is my embed code: (<script type="text/javascript"> var so = new SWFObject("capture3.swf", "mymovie", "640", "480", "8", "#336699"); so.addParam("quality", "low"); so.addParam("wmode", "transparent"); so.addParam("salign", "t"); so.write("flashcontent"); </script>) Thanks! My html file has 7 embed tag lines at the top so that I can play wav files when a mouseover is done. That works. The problem is that there seems to be no way to hide some tiny little dots on the screen where the embed files live. When I tried hidden="true" on the embed tag, the sounds will not play. So then I moved the embed lines at the bottom of the html file after my iframe line but before the close body tag, and the sounds stopped playing. My goal is to have the little dots appear at the bottom of the screen where they are not so obvious, or, even better, not appear at all. Does anyone have any ideas, please? Is there a way of putting a font into a website viewers temp file so it can be used on the website. As I would like to make my own font to go on my website but if that viewer didn't have it, then it wouldn't show. I don't really like the idea of having somebody download the font and then have to put it into their font file so if that could be avoided. Thanks. Hi folks, I have a simple question using the <embed> tag. My code is as follows: <embed width='100%' height='100%' src='../media/movies/intro.wmv' autostart=true> The movie plays just fine but when the browser loads it seems to load the first frame of the video and superimposes the actual video over that. However, if I go to another tab or minimize the browser then return to the screen the movie looks fine. I'm still learning about this stuff so I'm not sure if there is a buffer/cache issue or not. Can someone please give me some idea on how to solve this problem? Thanks in advance I can't get one of my pages to validate in xhtml, it seems to be the <embed> part which is causing the problems. Here is a link to the page: http://www.a104mc.connwarwicker.co.uk/music.html And here is the section which is causing most of the errors: HTML Code: function playSound(s){ var f = playList[s]; var t = songNames[s]; $('connsplayground').innerHTML = ""; $('connsplayground').innerHTML = "<embed src='http://www.a104mc.connwarwicker.co.uk/sounds/"+f+"' hidden='true' style='width:0px;height:0px;' autostart='true' loop='true' />"; $('songtitle').innerHTML = t; currentSong = s; alterText(); } With such errors as: there is no attribute "src". there is no attribute "hidden" there is no attribute "style" there is no attribute "autostart". etc... I'm using this doc type: HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Any idea as to how i can fix these errors? I've tried using an <object> instead, but that didn't seem to work very well at all. Does somebody know what is the current stay of the play with <EMBED> and <OBJECT> tags? I can not find a clear information if I need to use both tags, or just one to embed objects into HTML. Hi everyone, I would like to embed another web site/page into a table on my page. The page I want to embed is mine, so there is no copyright issues. I would like to do this without using frames, unless I can use frames, but there be no scroll bars, just to extend the column downward. I would like it to appear as if you couldn't tell that it was from another page. Any help will be greatly appreciated. Musicman1994 Hi all, I'm trying to embed a flash file on my page that will act as a link to another page (please see code below). However, for some reason it's not working. Can someone please tell me what I'm doing wrong or point me towards some documentation? <div class="promowrapper"> <a href="http://promos.kansan.com/summersplash"><embed width="955" height="60" src="http://media.kansan.com/static/images/SummerSplash.swf" /></a> </div> Thanks, Kansan Hi, I am currently having trouble embedding my flash file into html. No matter what I try it will not work. I don't have much experience in html so could really use some help please. This is the code that I am using... <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6" width="814" height="344"><param name="movie" value="http://megaswf.com/serve/79631/" /><param name="quality" value="high" /><param name="menu" value="false" /><param name="scale" value="exactfit" /><embed src="http://megaswf.com/serve/79631/" width="814" height="344" menu="false" scale="exactfit" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> Thanks, Adam My website is being used to sell jewelry. Each time you click on one of thumbnail images a separate window pops up with a copy of the thumbnail but larger. I want to be able to click on an thumbnail image and see 2 pictures side by side in the pop up. I've tried, and it doesn't seem to work. Does anybody have any Idea how to do this? Here is my script. this is a target page within an iframe so it just repeats with different pictures. Thank you to whoever can help! <center><table> <tr> <td><div align="center"><a href="images/DSC00524.JPG" target="_blank"><img src="images/thumbnails/DSC00524thumnail.JPG" width="45" height="42" border="0"></a></div></td> <td><div align="center"><a href="images/DSC00576.JPG" target="_blank"><img src="images/thumbnails/DSC00576thumbnail.JPG" width="45" height="42" border="0"></a></div></td> <td><div align="center"><a href="images/DSC00580.JPG" target="_blank"><img src="images/thumbnails/DSC00580thumbnail.JPG" width="45" height="41" border="0"></a></div></td> <td><div align="center"><a href="images/DSC00591.JPG" target="_blank"><img src="images/thumbnails/DSC00591thumbnail.JPG" width="45" height="41" border="0"></a></div></td></tr> I'm trying to embed a .wav file into my webpage. I've used the following syntax: <EMBED src="funnyfarm.wav" autostart=true loop=false volume=100 hidden=true width="0" height="0"> <noembed><BGSOUND src="funnyfarm.wav"></noembed> Originally I wrote the syntax with <NOEMBED> and </NOEMBED> but FrontPage changed them to what you see above. The page is the Main.htm which resides in the main frame of a frameset page. I do not want the music embedded into the frames page (index.htm) because I want the music to change with the page. I have tried to preview this in a browser but there's no sound. I have tested the wav independently with different media players, it works. Why am I getting no sound? I have also tried FrontPage's default method on Page Properties which just generates bgsound in the header tag but still no good. Is there another tag I can try, or is there a fault in my code? Please help. Hi everyone, Now I am trying to put the pdf file on my web page. I use: <embed src="myfile.pdf" width="800" height="700"> but it doesn't appear in the page, it only shows the icon like small square picture. My browser is IE8. Any Suggestion, please.... Regards, Win. Hi, Here's the frame URL: http://docs.google.com/uc?id=0B1iqp0...UzMWNhYWU4MjBi I inserted it through the iframe tag into the following page: http://rain-lover.webs.com/sample.htm Opera and Firefox are the only major browsers that display it. No luck in IE, Chrome or Safari. I get the same result using the following code: Code: <object type="text/html" width="100%" height="600" data="http://docs.google.com/uc?id=0B1iqp0kGPjWsMjBjN2EwZDctMjhlNy00ODJjLWJjNTgtYTUzMWNhYWU4MjBi"> </object> Please help! Thanks in advance. |