I need to stop video from automaticly playing when you load the page.

We bought a template to have a site that is very similar to you tube. I am not a code guru and i need some help on one part of the site. The site is www.jacketbuzz.tv and when you first visit the site the video will automatically play. I do not want this function, i want the use to have to click on the video to play it. I have looked at the code and can't find where to do this at. Also i am having a hard time even finding what script controls that. Any help would be appreciated. Attached is some screenshots fo the directory and file structure.
Who is Participating?
IanThConnect With a Mentor Commented:
well its using jw player and jw player is a flash player


see http://developer.longtailvideo.com/trac/wiki/FlashVars

autostart (false): automatically start the player on load. so you have autostart true I think and set that to false so it doesn't play

and the use

displayclick (play): what to do when one clicks the display. Can be play, link, fullscreen, none, mute, next. When set to none, the handcursor is also not shown.

as that requires a mouse click to play
NicoJuicyConnect With a Mentor Commented:
Try the code below by changing your code with it.

I only changed one variabel. (autostart = false).

<!-- Begin Index FLV Player -->
 <div id="index-player">
 <div name="mediaspace" id="mediaspace">
        <object type="application/x-shockwave-flash" data="http://www.jacketbuzz.tv/flvplayer.swf" quality="high" width="649" height="284">
            <param name="movie" value="http://www.jacketbuzz.tv/flvplayer.swf" />
            <param name="allowFullScreen" value="false" />
            <param name="FlashVars" value="file=http://www.jacketbuzz.tv/uploads/svs2EDsigcIlzJQMbpmi.flv&file=http://www.jacketbuzz.tv/playlist.php&bufferlength=15&width=648&height=284&displaywidth=649&displayheight=284&overstretch=fit&showfsbutton=false&image=http://www.jacketbuzz.tv/uploads/thumbs/svs2EDsigcIlzJQMbpmi.jpg&logo=http://www.jacketbuzz.tv/templates/images/playerlogo/logo.png&backcolor=0xffffff&frontcolor=0x8b4401&lightcolor=0xae6900&screencolor=0xe7e7e7&autoscroll=true&thumbsinplaylist=true&repeat=list&shuffle=true&autostart=false&enablejs=true&midroll=YOUR-LONGTAIL-ID" />
            <param name="wmode" value="transparent" />
            <param name="allowScriptAccess" value="always" />
 </div><!-- End Index FLV Player -->

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.