Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start and then Pause Embedded Media Player

Status
Not open for further replies.

Krus1972

Programmer
Mar 18, 2004
145
US
I have the following HTML which loads an embedded media player:

<EMBED SRC="/01.mp4" HEIGHT=530 WIDTH=850 AUTOSTART="false">

What I would like to do is at onload I would like the mediaplayer to autoplay and then immediatly pause until the visitor enables play again.

The purpose of this is that I believe media player continues to download the file after the play button / and puase is pressed.

I don't believe the media file starts downloading until the play button is pressed. This doe not allow the downloading to stay ahead of the video watching experience resulting in starting & stoping of the video.

Can someone tell me if it's possible in javascript to tell the browser to start playing the media after the webpage loads and then pause it a short time later?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top