Solved

How do I autoplay an embeded flash video?

Posted on 2011-09-24
3
774 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

830 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