By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,094 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

My Windows media services is not working in fire fox

P: 3

i am using object to use media player and the object is as follows:
here i am also using custom buttons to play and stop media file it's working fine in IE but not work in firefox and opera.

<object id="WMPlay" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=",1,52,701"
height="340px" standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject" width="400px">
<param name="FileName" value="">
<param name="ShowControls" value="0">
<param name="SendPlayStateChangeEvents" value="True">
<param name="uimode" value="none">
<param name="InvokeURLs" value="True" />
<param name="stretchToFit" value="False" />
<param name="Volume" value="20" />
<param name="mute" value="false" />
<param name="allowScriptAccess" value="always" />
<param name="ClickToPlay" value="true" />
<param name="ShowStatusBar" value="true" />
<param name="ShowTracker" value="true" />
<param name="AllowScan" value="1">
<div id="mediaPlayerMozilla">
<embed height="340px" name="WMPlay" pluginspage=""
showcontrols="0" src="mms://"
type="application/x-mplayer2" width="400px"> </embed>

------------ to play an stop media file we user followin code

function playVid()
if (bWin32IE == true) {;
} else {


function stopVid()
if (bWin32IE == true) {
} else {

Dec 6 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 7,872
This really is not a .NET related question.
I *THINK* it falls under the HTML section since it is cross-browser troubles with markup code. Or possibly just a security setting turned off in your FF.
I moved it there anyway, hopefully it's the right place.
Dec 6 '07 #2

Expert 5K+
P: 7,435
Part of the problem is that there is no such thing as <object>, it's not part of the standard, so modern browsers use <embed> while IE uses <object>. Some of the attributes you use are also not part of the standard. So there must be adjustments for this to work in modern browsers.

Look at this page for an explanation.
Dec 6 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.