Solved

How do I autoplay an embeded flash video?

Posted on 2011-09-24
3
772 Views
Last Modified: 2012-05-12
Here is the script... where do I put &autostart=true

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="200" id="flashObj" width="240"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" base="http://admin.brightcove.com" bgcolor="#FFFFFF" flashvars="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true" height="200" name="flashObj" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" seamlesstabbing="false" src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" swliveconnect="true" type="application/x-shockwave-flash" width="240"></embed></object></p>
0
Comment
Question by:ambantin
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Peter Kwan
ID: 36592369
Add it at the end of flashVars, like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="200" id="flashObj" width="240"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&amp;isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true[b]&amp;autoStart=true[/b]" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" base="http://admin.brightcove.com" bgcolor="#FFFFFF" flashvars="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true[b]&amp;autoStart=true[/b]" height="200" name="flashObj" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" seamlesstabbing="false" src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&amp;isUI=1" swliveconnect="true" type="application/x-shockwave-flash" width="240"></embed></object>

Open in new window

0
 
LVL 16

Accepted Solution

by:
Peter Kwan earned 500 total points
ID: 36592371
Should be:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="200" id="flashObj" width="240"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true&amp;autoStart=true" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" base="http://admin.brightcove.com" bgcolor="#FFFFFF" flashvars="videoId=867377935001&amp;playerID=754045552001&amp;playerKey=AQ~~,AAAAr1aST5E~,OaBZhEy6mtOXlRqsYVVjcIGZL4KHViOg&amp;domain=embed&amp;dynamicStreaming=true&amp;autoStart=true" height="200" name="flashObj" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" seamlesstabbing="false" src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" swliveconnect="true" type="application/x-shockwave-flash" width="240"></embed></object>
0
 

Author Closing Comment

by:ambantin
ID: 36593915
EXCELLENT!! THANKS!!!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question