Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Enbedding a video making it so it doesn't autoplay. HELP!

Nov 19, 2008 4:27PM PST

I am trying to embed more than one video on a site. The problem is they all start playing automatically, I would like to keep them from starting automatically. I get my code from helloworld.com they use razor stream the videos load up fast and don't stutter. If anyone with this kind of knowledge could help me I would really appreciate it.

This is the code I am trying to modify:

<iframe width='320' height='240' frameborder='0' marginheight='0' marginwidth='0' noresize scrolling=no src='http://widgetpf.razorstream.com/widgets/v.1.0/inc/mediaplayer.aspx?lic=hw&accHex=3656ba4d-5fa8-4f9e-9906-ae1c18ac73c5&mediaID=20033573&mediaTag=&ts=1226989656211&expires=false&ipLock=false&ip=67.40.127.111&hash=9f2997c0888e59816be9609c7b980fbf3c88aacf&successURL=&successCB=&errorURL=&errorCB=&bgColor=%23000000&width=&height=&controls=true&statusbar=false&repeat=false&fullScreen=true&fmtSelector=true&prefFormat=&prefSpeed=&linkURL=&copyLink=true&emailLink=true&embedLink=true&assetID=20033867'></iframe>

PLEASE HELP

THANKS,

Danny Padilla

Discussion is locked

- Collapse -
this forum doesn't let me put in the code. Bummer!
Nov 19, 2008 4:37PM PST
- Collapse -
Re: embedded video
Nov 19, 2008 5:54PM PST

I'd suggest 2 things, given these are the parameters in your link now:
expires=false&ipLock=false&ip=67.40.127.111&hash=9f2997c0888e59816be9609c7b980fbf3c88aacf&successURL=&successCB=&errorURL=&errorCB=&bgColor=%23000000&width=&height=&controls=true&statusbar=false&repeat=false&fullScreen=true&fmtSelector=true&prefFormat=&prefSpeed=&linkURL=&copyLink=true&emailLink=true&embedLink=true&assetID=20033867

1. Study the documentation for the service you use if there are more parameters to choose from. In theory, it's possible they have something like &autostart=no and that would solve the problem.

If none:
2. See if you can find another service that suits your needs better.

If none:
3. Redesing the application, like:
a. Put links only on your page, each one linking to a separate autoplay page. Of course, that link could be a picture of a still from that video.
b. Convert all video's to flash applets and program them to not autoplay. I've never made a flash, but I think that's possible.

Kees

- Collapse -
problem solved.
Nov 22, 2008 6:04PM PST

For who ever may sometime want to know I figured out the answer to my question. So the piece was

=false&autostart=

I just kept plugging different things in and I tried mimicking the language on the code. It has to be right in this spot or it doesn't work.

=true&statusbar=false&repeat=false&autostart=

I thank the two guys that tried to help me, Kees Backer at this forum and at danishbacker daniweb.com.

Kees I apreciate you suggestions and was getting ready to do the video link deal when I figured it out.

Now I have another challenge I will post If you get a chance check it out.

danpad