Macintosh + Firefox + WMV + AutoStart false = AutoStart true

2007-01-08 One-minute read

Coding for multiple browsers and operating systems is always painful. However, adding wmv to the mix makes it even worse.

After loads of testing, we managed to get this code to work on Firefox for Windows, IE6 and IE7 for Windows, and Firefox/Iceweasel on Linux.

Now, we’ve discovered that with Firefox (and Safari) on a Mac, the AutoStart=false is ignored - the video starts playing automatically.

<object id="MediaPlayer"
standby="Loading Microsoft Windows Media Player components..."
<param name="FileName" value =
<param name="AutoStart" value="0">
<param name="ShowControls" value="true">
<param name="ShowStatusBar" value="true">
<embed type="application/x-mplayer2" Name="MediaPlayer"
AutoStart="false" autoplay="false" ShowStatusBar="1"
ShowControls="1" volume="-1"></embed>

Looking at this post I get the impression that autostart is not supported on a mac.