HTML - Embed Flash And Validation???
I'm struggling to embed my flash and get the page to validate - please help - what should i do??
Error Page Page Similar TutorialsHi, 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 Hey there, I've got a problem trying to embed a flash file into a webpage. Whenever I look at the page, the flash file (.swf) fails to load, and i get a (1 item remaining) message in the status bar. If i go straight to the source of the swf file (its located on a different server) I download it and view it in the browser normally... From that point, I can hit the back button and go back to the original page, and the flash is loaded and it works as it should. I must do this for each browser opened up, so I'm assuming the flash file is stored in some temporary cache for each browser. Or maybe not, I really have no idea. Of course, I'd like to flash to load without having to download it directly (literally going to www.domain.com/flash.swf and waiting for it to load) If it makes any difference, I'm using the SWFObject method in order to view it without the gray border in IE. By the way, I'm experiencing this problem in IE 6.0, but it may be occurring for other browsers too, I'm not sure. I do not believe the face that I'm using SWFObject makes it fail, because I tried viewing it in an html page by just embedding it with <object> and <embed> and <param> and that failed too... Thanks in advance Hello, I am building an offline video sharing site (Like youtube- just not connected to the internet). I want to embed SD (flv)& HD (mp4) videos to this site, when user need only flash player installed on his machine (just like youtube). Can anyone assist me with this html code writing & accessories needed? Thanks, Avi in the dreamweaver preview it shows up fine. the path is correct and the file is upload...but for some reason, I just get a blank space? http://yesplsnothnx.com/index2.html flash animation: http://yesplsnothnx.com/images/ass.swf what am i doing wrong?! Hi, I'm trying to validate one of my HTML pages using HTML 4.0 Transitional. I have cleared all errors listed apart from one. The error is: Code: The tag name: "embed" Not found in currently active versions.[HTML 4.0] I have added a flash annimation and used the embed tag for it to work in mozilla. If i remove the embed tag it works in IE but not in mozilla. This is the section of script the error is refering too: Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="305" height="15" title="Sherborne Contemporary Arts"> <param name="movie" value="animation/logo/logo_text.swf"> <param name="quality" value="high"><param name="LOOP" value="false"> <embed src="animation/logo/logo_text.swf" width="305" height="15" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> Im using dreamweaver so i don't know which bits i can strip out. i do know if i strip out the embed tag flash wont show in mozilla but it still works in IE. Is there a valid fix for this? How else can i show flash both in IE6/7 and mozilla making sure it validates. Cheers in advance Rick I have a jailbroken iPhone 4 and I am trying to get a flash embed to display on it but I am having a lot of trouble. i have successfully used and enabled different flash objects elsewhere but this is the only one that wont run. so I know it will work. HTML Code: <head> <title>iSwim</title> </head> <body> <div style="width: 320px; height: 356px; margin-top: 80px; margin-bottom: 44px;"> <object width="320" height="356"> <param name="movie" value="http://listen.grooveshark.com/widget.swf" /> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" /> <embed src="http://listen.grooveshark.com/widget.swf" type="application/x-shockwave-flash" width="320" height="356" flashvars="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" allowScriptAccess="always" wmode="opaque" /></object> </div> </body> Can anyone help me to make sure the flash displays right? what happens is the player loader displays at the top instead of the center and the control buttons are present before it loads. then after the loader fails it shows a "cannot connect" error. so I think the flash object is resizing inside its self. can anyone help me clean up this script so it will display correctly in iPhone safari (with flash enabled)? website is he smalldotdesign.zxq.net/iSwim.html that is where the HTML file is located that I am trying to get corrected. thanks in advance. i have a feeling this is going to be a tough fix. 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! 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! Hi, Is it possible to embed a quicktime .mov file and not allow the user to download the video? Thanks for the help, B 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> 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> 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 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. 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> 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. 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. 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 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 |