Are you bored of that Media web part video player playing your videos? Do you need more functions on your media player compared to only Play & Stop button only? Do you need a better view of your videos at Home Pages or other pages of your site?
I have an answer?
- Open the page you want Window Media Player to play your videos.
- Edit the page
- Add a content editor web part
- Paste the below JavaScript code to the page
- Change the Url, Kindly note it can be any url from you tube or from your own Media libraries
- Save the page
- Publish it
- You’ll have the Window Media Player beautifully playing your video.
Code
- <object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="600" height="400" id="mediaplayer1" title="Window Media Player">
- <param name="FileName" value="http://Test/MyVideo/MyVideo.wmv">
- <param name="AutoStart" value="True">
- <param name="ShowControls" value="True">
- <param name="ShowStatusBar" value="False">
- <param name="ShowDisplay" value="False">
- <param name="AutoRewind" value="True">
- <param name="DisplayBackColor" value="True" />
- <param name="BufferingTime" value="6">
- <embed src="http://Test/MyVideo/MyVideo.wmv" width="600" height="400" autostart="True" type="application/x-mplayer2"
- pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" filename="http://Test/MyVideo/MyVideo.wmv" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True" displaybackcolor="True" bufferingtime="6"></embed>
- </object>