Question:

How do you make a youtube video automatically start?

by  |  earlier

0 LIKES UnLike

im trying to put youtube video on my myspace page and i want it to automatically start....

if this helps, this is the link that i am using:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Zq6g9mQa... name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Zq6g9mQaOG... type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

 Tags:

   Report

2 ANSWERS


  1. Goto http://www.vtubetools.com/ put the video ID and click getcode


  2. How to embed SWF file into an HTML page?

    You can code the page like the following:

    &lt;!--url&#039;s used in the movie--&gt;

    &lt;!--text used in the movie--&gt;

    &lt;!-- saved from url=(0013)about:internet --&gt;

    &lt;!--&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-4... codebase=&quot;http://download.macromedia.com...

    shockwave/cabs/flash/swflash.cab#versi... width=&quot;400&quot; height=&quot;300&quot;&gt;

    &lt;!--&lt;param name=movie value=&quot;mflvplayer.swf?playerOpts=targetC...

    &lt;!--&lt;param name=quality value=high&gt;

    &lt;!--&lt;embed src=&quot;mflvplayer.swf?playerOpts=targetCli... quality=high pluginspage=&quot;http://www.macromedia.com/s...

    ownload/index.cgi?P1_Prod_Version=Shoc... type=&quot;application/x-shockwave-flash&quot; width=&quot;400&quot; height=&quot;300&quot;&gt;

    &lt;/embed&gt;--&gt;

    &lt;/object&gt;--&gt;

    Well, have you noticed the mflvplayer.swf in blue?

    The width=&quot;400&quot; height=&quot;300&quot; in black indicates the width and the height of your video.

    The playerOpts=targetClip*demo.flv*s in bold indicates the name of the FLV file to be played while demo.flv is your video. You might be curious about targetClip, the asterisk separator and the &quot;s&quot; in the end.

    In fact, playerOpts is not that simple. PlayerOpts consists of several segments, each of which is separated by &quot;||&quot;, and each segment contains a property of the control bar. One segment is divided into 3 parts by the asterisk (*). The first part is the property name, the second part is the property value and the third part is the data type of the property. For instance, targetClip*demo.flv*s is a segment, targetClip is the property name, demo.flv is the property value and the &quot;s&quot; is the character string type of this property. This segment is to specify the path from which the control bar can play the video. There are also other properties. You can set multiple properties at a time, using &quot;||&quot; to separate different segments, code like the following:

    playerOpts=targetClip*demo.flv*s||pane...

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.