sparkymom7 Posted July 23, 2013 Share Posted July 23, 2013 I am trying to setup an html file to automatically start playing from our local weather channel. Trust me I have tried everything from auto play=1 to autoplay=true in and out of quotes. I even had embedded source but to no avail, below is my latest code. Anyone have any thoughts on this one? Also, I am saving it to my Xampp/htdocs server and running it from there. Thanks in Advance <!doctype html> <html> <head> <meta charset="utf-8"> <title>Local Weather</title> </head> <body> <object width="750" height="525" id="_49387396" data="http://wwwcache.wral.com/presentation/v2/flash/video/vp-wral.swf?v=20130502b?autoplay=1" type="application/x-shockwave-flash"> <param name="movie" value="http://wwwcache.wral.com/presentation/v2/flash/video/vp-wral.swf?v=20130502b?autplay=1" /> <param name="allowfullscreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="config={'url':'http://www.wral.com/weather/video/1076424/?version=fpconfig','plugins':{}}" /> </object> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/280434-unable-to-get-a-streaming-swf-to-play-automatically/ Share on other sites More sharing options...
itgranny Posted August 2, 2013 Share Posted August 2, 2013 I have cs3, but this is what my html looks like. I think it's just "play" rather than autoplay. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled-1</title><script language="javascript">AC_FL_RunContent = 0;</script><script src="AC_RunActiveContent.js" language="javascript"></script></head><body bgcolor="#ffffff"><!--url's used in the movie--><!--text used in the movie--><!-- saved from url=(0013)about:internet --><script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' 'width', '550', 'height', '400', 'src', 'Untitled-1', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer' 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'Untitled-1', 'bgcolor', '#ffffff', 'name', 'Untitled-1', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'Untitled-1', 'salign', '' ); //end AC code }</script><noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="Untitled-1" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="Untitled-1.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="Untitled-1.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object></noscript></body></html> Quote Link to comment https://forums.phpfreaks.com/topic/280434-unable-to-get-a-streaming-swf-to-play-automatically/#findComment-1443075 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.