Go
Not registered? Sign up!

How To Add Autoplay

Google Translate
25 posts | return to the Setup Problems forum | get the rss feed for this thread

Aug. 08, 2008T.G.

How do I add code to Autoplay the following:

<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
height="360" width="480"><param name="flashvars"
value="file=http://www.mydftv.com/test.flv"><param
name="flashvars"
value="file=http://www.mydftv.com/test.flv&amp;autostart=true"> <param
name="movie"
value="http://walkernewsdownload.googlepages.com/mediaplayer.swf">
<embed
src="http://walkernewsdownload.googlepages.com/mediaplayer.swf"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=http://www.mydftv.com/test.flv" height="360"
width="480"></object>

Aug. 08, 2008kLink

Add &autostart=true to your flashvars in two places (you already have it in one place).

Aug. 09, 2008T.G.

Thanks but where?

Aug. 09, 2008T.G.

wow... just figured it out.

Thanks!

Aug. 27, 2008william b.

(how do i autoplay this code) <p style="visibility:visible"><object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="350" width="175" style="width:175px;height:350px" align="middle" data="http://embed.snapvine.com/flash/starboard.swf?url=http://www.snapvine.com&urn=/api%2Fget_voice_drop%2F93c9209a747111ddb81c0030485b0e2a%3Fview_type%3Dtp%26inst_sz%3Dtp%26inst_ts%3D080827125808%26inst_rf%3Dwww.snapvine.com%26inst_fl%3Dstandard&site=ms&type=photo">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://embed.snapvine.com/flash/starboard.swf?url=http://www.snapvine.com&urn=/api%2Fget_voice_drop%2F93c9209a747111ddb81c0030485b0e2a%3Fview_type%3Dtp%26inst_sz%3Dtp%26inst_ts%3D080827125808%26inst_rf%3Dwww.snapvine.com%26inst_fl%3Dstandard&site=ms&type=photo" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="l" />
<param name="wmode" value="transparent" />
</object>..<br style="font-size:0;" /><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnNuYXB2aW5lLmNvbS92b2ljZWRyb3A/c3Z0YV9kcm9wPTEmcmVmPV9McE9zRW40RWQyTURBQXdTRnNPS2cmaW5zdF9zej10cCZpbnN0X3RzPTA4MDgyNzEyNTgwOCZpbnN0X3JmPXd3dy5zbmFwdmluZS5jb20maW5zdF9mbD1zdGFuZGFyZA==" target="_blank">Make on Snapvine</a> | <a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnNuYXB2aW5lLmNvbS92b2ljZWRyb3AvZ2V0X2NvZGVzLzkzYzkyMDlhNzQ3MTExZGRiODFjMDAzMDQ4NWIwZTJhP3NpdGU9bXMmdmlld190eXBlPXRwJnN2dGFfZHJvcD0x" target="_blank">Copy This</a></p

Dec. 03, 2008disregard,

disregard

Dec. 14, 2008Randy

Where Does This Code Go?>>>>>>>&autostart=true

Can Some1 Give An Example Please

Dec. 14, 2008Randy

<embed src="http://www.boxstr.com/templates/default2/images/icons/player.swf" width="200" height="180" allowscriptaccess="always" allowfullscreen="true" flashvars= height=180&width=200&file=http://boxstr.com/files/4345299_gfvat/Ashley%20Tisdale-Last%20Christmas.mp3&image=http://boxstr.com/templates/default2/images/icons/boxstrmusic.gif&backcolor=0x112200&frontcolor=0xffffff&lightcolor=0x88BB00&searchb r=false&autostart=true" />

Dec. 15, 2008Persis

hi, i tried the code, but i can't get it to work. can anyone please help me with it:

<script language="JavaScript" src="audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="audio/player.swf" id="audioplayer1" width="290" height="24">
<param name="movie" value="audio/player.swf">
<param name="FlashVars" value="playerID=1&soundFile=audio/dirtysouth/anyone.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>

this is my code.
i tried to put the autostart=true in te flashvars code, but it won't work. maybe i'm putting it on the wrong place..

Dec. 15, 2008Viper

<param name="FlashVars" value="playerID=1&soundFile=audio/dirtysouth/anyone.mp3&autostart=true">

Feb. 16, 2009Adam Haskins

How can I add autoplay to this embedd code?

<object width="400" height="310">
<param name="movie" value="http://current.com/e/89596851/en_US"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://current.com/e/89596851/en_US" type="application/x-shockwave-flash" width="400" height="310" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object>

Feb. 18, 2009Anyone

Anyone able to acheive this?

Feb. 18, 2009Adam

Sorry about above post. But cant anyone achieve my autoplay option?

Feb. 21, 2009Adam

This website sucks. Close it down

Mar. 20, 2009Denise

YAY! Thanks KLink! :]

You guys just add &autostart=true to the website in your code, if you guys see &autostart=false, just change the false to true! : ]

Apr. 10, 2009ratdog

(how can i auto start this, please help)

startstop_pb.enabled = false;

// set starting volume level.
vol_slide.value = 70;

// event handler for volume control.
vol_slide.changeHandler = onVolChange;



connect_pb.onRelease = function(){
if(this.label == "Play"){
status_txt.text += "Connecting..." + newline;
this.label = "Disconnect";
please_standby.gotoAndStop(2); // show
nc.connect("rtmp://flashmedia.umassd.edu/livewumd");
} else {
status_txt.text += "Disconnecting." + newline;
this.label = "Play";
nc.close();
audio_only_notice.gotoAndStop(1);
}
}

nc = new NetConnection();
nc.onStatus = function(info) {
status_txt.text += "NC.onStatus> info.code: " + info.code + newline;
if (info.code == "NetConnection.Connect.Success") {
status_txt.text = "Connected to " + this.uri + newline;
startstop_pb.enabled = true;
createNetStream(this);
}

}

createNetStream = function(nc){
ns = new NetStream(nc);
ns.onStatus = function(info) {
status_txt.text += "NS.onStatus> info.code: " + info.code + newline;

if(info.code == "NetStream.Play.UnpublishNotify") {
// if the broadcaster stopped the stream
please_standby.gotoAndStop(2); // show
audio_only_notice.gotoAndStop(1); // hide the audio notice
}
if(info.code == "NetStream.Play.PublishNotify") {
// if the broadcaster restarted the stream
please_standby.gotoAndStop(1); // hide
audio_only_notice.gotoAndStop(2); // show the audio notice
}

}
myvid.attachVideo(ns);
live_sound = new Sound();
live_sound.attachSound(nc);
live_sound.setVolume(vol_slide.value);
ns.play("wdd_umd_live", -1);
//ns.play(streamname_txt.text, -1)
audio_only_notice.gotoAndStop(2); // show
please_standby.gotoAndStop(1); // hide
}


function onVolChange() {
live_sound.setVolume(vol_slide.value);
}

May. 18, 2009Zeren

How could i made,that this:

<embed src="http://media.entertonement.com/embed/PlayerText.swf" id="1_1dc0cc44_437f_11de_8f3e_0015c5f4d4ea" name="PlayerText" flashvars="auto_play=0&id=1_1dc0cc44_437f_11de_8f3e_0015c5f4d4ea&meta_url=http%3A%2F%2Fwww.entertonement.com%2Fclips%2Fyjybzwwkqf.query%3Fimage_size%3Dflash" width="304" height="30" style="float: left; margin-right: 10px;" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" bgcolor="#ffffff" wmode="transparent" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"></embed><a href="http://www.entertonement.com/clips/yjybzwwkqf--Wolf-Howl"><img alt="Blank" border="0" height="0" src="http://www.entertonement.com/widgets/img/clip/yjybzwwkqf/1/1_1dc0cc44_437f_11de_8f3e_0015c5f4d4ea/blank.gif" style="visibility: hidden; width: 0px; height: 0px; margin:0; padding:0; float:right" width="0" /></a>

Start from itself when i go on the Page where it placed?
(Im a German so sorry for mistakes and i hope you understand what i mean...)

Could anyone copy it and past it in the form that i would like,so that i only need to copy it too?
Thanks.

May. 18, 2009lollie

@Zeren,

This doesn't seem to be a JW Player that you are trying to use.

You could try: flashvars="auto_play=1

May. 21, 2009Alejandro

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="360" width="640">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.joost.com/embed/08200eh" />
<param name="wmode" value="transparent" />
<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.joost.com/embed/08200eh" height="360" width="640" wmode="transparent" />
</object>

How do you autoplay this one?

May. 23, 2009Ken

Can someone fix it to autoplay?

<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="300" height="450" id="videoplayer.prt1" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="movie" value="http://thehorrors.co.uk/albumwidget/thehorrorsembedplayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#231f20" /> <embed src="http://thehorrors.co.uk/albumwidget/thehorrorsembedplayer.swf" quality="high" bgcolor="#231f20" width="300" height="450" name="videoplayer.prt1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

May. 31, 2009Alejandro

Can anyone help me with the question above? I would really appreciate it.

Aug. 24, 2009Declan

If you are using the AS3 video player tutorial which i think you are, then do this:

In the ActionScript code of the fla file, go to the very last line in the script, where it says: initVideoPlayer():

Put this line of code in after it
playClicked(null);

Sep. 24, 2009GUllyv3r

worked for me with &autostart=true thanks

Nov. 02, 2009Chana

This worked for me

<object id='player' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' name='player' width='640' height='520'>
<param name='movie' value='player.swf' /><param name='allowfullscreen' value='true' /><param name='allowscriptaccess' value='always' /><param name='flashvars' value='filevideo.flv&autostart=true' />
<embed type='application/x-shockwave-flash' id='player2' name='player2' src='media/player.swf' width='640' height='520' allowscriptaccess='always' allowfullscreen='true' flashvars='file=video.flv&autostart=true'/>
</object>

Nov. 02, 2009Chana

The (&) ampersand you have to put it in html
&amp;autostart=true

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.