?
Solved

Embedding windows media player - Windows 7, Mac, Firefox

Posted on 2010-04-09
4
Medium Priority
?
539 Views
Last Modified: 2013-12-07
I have had embedded windows media player in my pages, but now people are saying they cannot read it, even with Active X installed.  What are the latest codes to use for Windows XP, Windows 7, Firefox and Macintosh to make sure embedded Windows player items work properly?
0
Comment
Question by:ServalStudios
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:DanielSV
ID: 30225030
Hello,

I think people would appreciate a little more info on this matter.
How are you embedding the player at the moment?

I think you should provide either the code, or a link to the site this is about.
0
 
LVL 1

Author Comment

by:ServalStudios
ID: 30226153
The site is restricted. Here is the code.
<object width="320" height="240" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components..." codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=,1,52,701" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="VIDEO">
<param value="mms://samplevideo.wmv" name="FileName" />
<param value="True" name="ShowStatusBar" />
<param value="true" name="TransparentAtStart" />
<param value="true" name="AutoStart" />
<param value="false" name="AnimationatStart" />
<param value="false" name="ShowControls" />
<param value="false" name="autoSize" />
<param value="0" name="displaySize" />
<embed width="320" height="240" src="mms://samplevideo.wmv" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" name="MediaPlayer" type="application/x-mplayer2"></embed></object>

Open in new window

0
 
LVL 4

Accepted Solution

by:
DanielSV earned 2000 total points
ID: 30232034
Try this:


<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="320" height="240" codebase="http://www.microsoft.com/Windows/MediaPlayer/">
	<param name="Filename" value="mms://samplevideo.wmv">
	<param name="AutoStart" value="true">
	<param name="BufferingTime" value="2">
	<param name="ShowStatusBar" value="true">
	<param name="AutoSize" value="false">
	<param name="InvokeURLs" value="false">
	<embed src="mms://samplevideo.wmv" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="0" showdisplay="1" showcontrols="0" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="320" height="240">
	</embed>
</object>

Open in new window

0
 
LVL 1

Author Closing Comment

by:ServalStudios
ID: 31712828
Thank you! Looks like it worked (no complaints so far)
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question