|
|||||||
| .NET Discussion and technical support for, building, using and deploying .NET sites. |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am using a media player control and passing the movie url. It works fine in IE open the file and play it.In Firefox the player is not visible but when check using FireBug the object tag is inside the page.
![]()
|
|
#2
|
|||
|
|||
|
erm this has nothing to do with .NET...
stupid question but did you install the firefox windows media player plugin? (http://port25.technet.com/pages/wind...-download.aspx) |
|
#3
|
|||
|
|||
|
Hi,
I have installed the plugin for the firefox.But still I am facing the problem. Code:
<OBJECT width="476px" height="354px" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT> <PARAM name="autoStart" value="True"> <PARAM name="URL" value="C:\Mediaplayer\mediaplayer\mediaplayer\Beethoven.wma"> <PARAM name="enabled" value="True"> <PARAM name="balance" value="0"> <PARAM name="currentPosition" value="0"> <PARAM name="enableContextMenu" value="True"> <PARAM name="fullScreen" value="False"> <PARAM name="mute" value="False"> <PARAM name="playCount" value="1"> <PARAM name="rate" value="1"> <PARAM name="stretchToFit" value="False"> <PARAM name="uiMode" value="mini"> </OBJECT> ![]()
|
|
#4
|
|||
|
|||
|
your linking to a file on your hard drive, i would point to the http location:
<PARAM name="URL" value="C:\Mediaplayer\mediaplayer\mediaplayer\Beethoven.wma"> |
|
#5
|
|||
|
|||
|
I am using the media file realtive to the application and I am passing the file as simple name as Beethoven.wma
|
|
#6
|
||||
|
||||
|
You may need to declare an application type and/use the old <embed> tag to get it to work in FF.
Code:
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject"> <PARAM NAME="FileName" VALUE="videofilename.wmv"> <PARAM name="autostart" VALUE="false"> <PARAM name="ShowControls" VALUE="true"> <param name="ShowStatusBar" value="false"> <PARAM name="ShowDisplay" VALUE="false"> <EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED> </OBJECT> Eye for Video www.cidigitalmedia.com |
![]() |
| Bookmarks |
| Tags |
| asp.net, java s |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|