Wordpress Themes - Find jobs - Computer Jobs - Debt Consolidation - Find jobs

PDA

View Full Version : wmv player help - stop autoplay


bschneider5
Dec 6th 2005, 1:31 pm
I am adding a WMV file/viewer to a blog post and the problem I am having is that I don't want it automatically start whenthe page loads, I want to have to press the play button. Any toughts? Here is the code I'm using:

<center><embed src="http://www.bradsblog.net/wp-images/lights.wmv" width="400" height="300" autoplay="false" controller="true" loop="false"></embed></center><br />

danimal
Dec 9th 2005, 10:21 pm
there is usually quite a bit more code involved with an embedded wmv player... is that all of your wmv code?

bschneider5
Dec 10th 2005, 3:24 am
yes, and it seems to works except for the autoplay feature

wrmineo
Dec 10th 2005, 3:49 am
Take a look at http://www.lohan.freshdames.com/rumors-video-lyrics.html and look at the code for the video there. I see some differences in the source code that might help you.

bschneider5
Dec 10th 2005, 5:58 am
OK, here's the deal....The code works but it seems to be a firefox issue. It doesnt autoplay in explorer, you can see my dilemma here - http://www.bradsblog.net/?p=181


Thanks!

danimal
Dec 10th 2005, 3:27 pm
i was referring to including things like the class i.d. of the player, something similar to this... firefox can be really finicky with embedded wmv:

<OBJECT id=MediaPlayer codeBase=HTTP://ACTIVEX.MICROSOFT.COM/ACTIVEX/CONTROLS/MPLAYER/EN/NSMP2INF.CAB#VERSION=6,4,7,1112
type=application/x-oleobject height=300
standby="Loading Windows Media Player components..." width=320
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6>