I have this code:
<object id="MediaPlayer1" width="280" height="256" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
<param name="fileName" value="/wp-content/uploads/2012/06/GM-Oh.avi" />
<param name="animationatStart" value="true" />
<param name="transparentatStart" value="true" />
<param name="autoStart" value="true" />
<param name="showControls" value="true" />
<param name="Volume" value="-450" />
<param name="url" value="/wp-content/uploads/2012/06/GM-Oh.avi" />
<param name="pluginspage" value="http://www.microsoft.com/Windows/MediaPlayer/" />
<param name="autostart" value="1" />
<param name="showcontrols" value="1" />
<param name="volume" value="-450" />
<embed id="MediaPlayer1" width="280" height="256" type="application/x-mplayer2" src="/wp-content/uploads/2012/06/GM-Oh.avi" fileName="/wp-content/uploads/2012/06/GM-Oh.avi" animationatStart="true" transparentatStart="true" autoStart="true" showControls="false" Volume="-450" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" autostart="1" showcontrols="1" volume="-450" />
</object>
The problem is, my movie object appears but the movie won’t start playing.
Any ideas why?
I’d suggest you change your doc type to
<!DOCTYPE html>and use an HTML5 player.You might need to convert the video file to OGG, WebM or MP4 though, as I’m not sure whether AVI will play.
More information on HTML5 video: http://www.w3schools.com/html5/html5_video.asp