HTML - Flash Embed Issue
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 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 I'm struggling to embed my flash and get the page to validate - please help - what should i do?? Error Page Page 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?! 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 ok then peeps this is the issue... i have created a page and want to play 2 separate flash files on that page... it works on ie7, safari, opera but not Mozilla it plays the 1st one but misses out on the 2nd one and dosen't show at all how mad is that??? as i said it works fine in all other browsers except Firefox... here is the code any pointers really appreciated thanks :-) <----code starts---> <td><center> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','184','height','220','title','sparkle flash','src','flash/promaflexplus','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/promaflexplus' ); //end AC code </script> <noscript> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="184" height="220" title="sparkle flash"> <param name="movie" value="flash/promaflexplus.swf"> <param name="quality" value="high"> <embed src="flash/promaflexplus.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="184" height="220"></embed> </object> </noscript> </center></td> </tr> <tr> <td class="style8">Why not try our Sparkle range to make your design's look funky and modern. Give it a try you will see how your design's will change.</td> </tr> </table> <table width="281" border="0"> <tr> <td><div align="center"><img src="images/machinery array.png" alt="Machinery" width="262" height="112" longdesc="../machinery.html"></div></td> </tr> <tr> <td><p class="style8">we can also offer you great deals on your plotters, Printers, and heat presses.</p> <p> <span class="style8"><A STYLE="text-decoration:none" href="../machinery.html" target="_self">View Items</a> or alternatively call a member of our team today to get the best options available for you, on: <span class="style24"></span></span></p></td> </tr> </table> <p align="center" style="padding-center:28px; padding-top:11px;"></p> <table width="275" border="0"> <tr> <td><center> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','245','height','700','align','absmiddle','title','Forever Advert Flash','src','flash/forever advert flash','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/forever advert flash' ); //end AC code </script> <noscript> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="245" height="700" align="absmiddle" title="Forever Advert Flash"> <param name="movie" value="flash/forever advert flash.swf"> <param name="quality" value="high"> <embed src="flash/forever advert flash.swf" width="245" height="700" align="absmiddle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed> </object> </noscript></center></td> </tr> </table> <---code ends----> Hey All.. I have a table, with two rows, and in each row i have embeded a different SWF file. The swfs (i am hoping) should end up "joined" together so it looks like only 1 animation when viewing in a browser. However, when i view in both IE and FIREFOX i get spacing inbetween the 2swfs even after setting all spacing and cellpadding of the table to "0" and verticaly aligning the TD's correctly. Im not too sure why?...any feedback would be great! I have a site I'm working on, and I have a flash demo movie that users can view. However, in Internet Explorer (so I'm told) You have to click once to "focus" on the flash movie, then you have to click again on the actual play button. You can view the problem from IE6 he (not sure about IE7) Click on the "view online demo" button below the header, and the movie slides out. http://www.jhilgert.com/EM/ I would like IE to focus on the movie without clicking, so users only have to click once to "play" the movie. Any help is greatly appreciated, and feel free to talk to me like I'm a fifth grader, I really would like to understand this. 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, 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> 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, 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! 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, 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. 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? 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 |