473,569 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My Windows media services is not working in fire fox

3 New Member
hi

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="http://activex.microso ft.com/activex/controls/mplayer/en/nsmp2inf.cab#Ve rsion=5,1,52,70 1"
height="340px" standby="Loadin g Microsoft® Windows® Media Player components..."
type="applicati on/x-oleobject" width="400px">
<param name="FileName" value="">
<param name="ShowContr ols" value="0">
<param name="SendPlayS tateChangeEvent s" value="True">
<param name="uimode" value="none">
<param name="InvokeURL s" value="True" />
<param name="stretchTo Fit" value="False" />
<param name="Volume" value="20" />
<param name="mute" value="false" />
<param name="allowScri ptAccess" value="always" />
<param name="ClickToPl ay" value="true" />
<param name="ShowStatu sBar" value="true" />
<param name="ShowTrack er" value="true" />
<param name="AllowScan " value="1">
<div id="mediaPlayer Mozilla">
<embed height="340px" name="WMPlay" pluginspage="ht tp://www.microsoft.c om/Windows/MediaPlayer/"
showcontrols="0 " src="mms://217.72.251.186/test/hello.mp3?usern ame=testabc&pas sword=test"
type="applicati on/x-mplayer2" width="400px"> </embed>
</div>
</object>

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


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

document.WMPlay .Play();
}
}

function stopVid()
{
if (bWin32IE == true) {
WMPlay.stop();
} else {

document.WMPlay .stop();
}
}
Dec 6 '07 #1
2 2263
Plater
7,872 Recognized Expert Expert
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
drhowarddrfine
7,435 Recognized Expert Expert
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

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

Similar topics

0
501
by: rockstar1971 | last post by:
Hello. I’m working with the Windows Media Encoder SDK to create an online jukebox for myself, but I’m having problems getting it to work. Here’s what I want to do: I’ve got a large collection of mp3 files that I listen to at work from my home server. I simply share them out from IIS and then open playlist files in WMP to play lists...
0
1284
by: fremo | last post by:
Hi, I like to use C# and Windows XP to develop a program that uses Windows Media Services. The Microsoft Platform SDK for Windows Server 2003 SP1 says that the interop assembly I need will be installed in the GAC when the Media Services are installed. Do I have to use a computer with Windows Server 2003 to develop a program for Windows Media...
1
10323
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of technologies, among them WMP, RealMedia, H.323 and XviD (not sure if it is suitable for streaming even) . I would like to seek the advice of those...
1
5525
by: sri2097 | last post by:
Basically, I want to check if a URL is playable or not (without actually playing it). i.e. given a URL I want to write an automation script to figure it out for me if it's playable or not. If you give a bad/invalid URL for windows media player to play a pop-up window shows us that it cannot be played. So I would want to catch that event.
3
2000
by: Jason Richmeier | last post by:
I looked for a more appropriate newsgroup for this question but I didn't see much of anything (something more specific to Windows Media Services). I have a server with Windows Media Services. When I try to establish an ASP ..NET application and open a page in this application, an attempt is made to open the page using Media Player (I am...
2
1755
by: Steven | last post by:
I have a service process that contains two services but only one of them ever works properly. The background is I have two classes which are Individual() and Mass() in the main service class and they both inherit ServiceBase. The main Method is as follows: static void Main() { System.ServiceProcess.ServiceBase ServicesToRun; ...
4
6268
by: hzgt9b | last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0, BACKGROUND I have a window forms based application that contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with nodes that when clicked play an audio clip from specified local or web URL and navigate the browser control to a specified local or...
1
1944
by: vera esaulova | last post by:
I have problem whis Windows Media Services 9 Series. I have videostream, which will consist of two streams(512k/bit and 256k/bit).I need to allocate a stream 256k/bit. In SDK is written: Supporting Multiple Bit Rate Files Several versions of the same audio or video content can be stored in separate streams, encoded at different bit rates,...
0
2656
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while the phones are on hold, but now I am trying to write a script that will allow Windows Media Player to run as a service so I can make it auto-start with...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7679
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6287
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.