Thursday, February 4, 2010

Playing audio and video files

<OBJECT id="VIDEO" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">

<PARAM NAME="URL" VALUE="FileURL">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM NAME="uiMode" VALUE="none">
<PARAM NAME="PlayCount" VALUE="1">

</OBJECT>

FOR WMP 11

<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="600" height="400" id="mediaplayer1" title="Win Media Player">
<param name="FileName" value="http://Test:2312/MyVideo/clock.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:2312/MyVideo/clock.wmv" width="600" height="400" autostart="True" type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" filename="http://Test:2312/MyVideo/clock.wmv" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True" displaybackcolor="True" bufferingtime="6"></embed>
</object>

Again thanks to Meher Kanth for his great blog
http://meherkanthch.blogspot.com/2008/06/playing-audio-video-files-within.html

MSDN
http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/dfc8ee18-2b72-425b-b463-1f3b680279bf

Firefox WMP11 Plugin
http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx

No comments:

Post a Comment