MyBB Community Forums
video+audio play all on Windown Media Play - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: video+audio play all on Windown Media Play (/thread-132576.html)



video+audio play all on Windown Media Play - tranquangchau - 2013-01-11

Help play all file video and audio.
1: install code
2: PC computer
3: test file type Smile

Step 1

Regular Expression
Quote:\[media\](.*?)\[/media\]
Replacement
Quote:<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="340" height="280">
<param name="url" value="$1" />
<param name="src" value="$1" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>-->
<object type="video/x-ms-wmv" data="$1" width="340" height="280">
<param name="src" value="$1" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object>
<!--<![endif]-->
</object>

And use MyCode
Quote:
[media]http://localhost/forum/test.wav[/media]
[media]http://localhost/forum/test.flv[/media]
[media]http://localhost/forum/test.mp3[/media]
[media]http://localhost/forum/test.wpl[/media]

Step 2: Install K_lite_Codec_Pack for computer of your.
It can help play all file type difirent file default of Windown Media Play

Link
Quote:http://codecpack.co/download/K_lite_Codec_Pack.html
Download Standard: K-Lite_Codec_Pack_960_Standard.exe (13.5 MB)
http://ftp.freenet.de/pub/filepilot/fpt/video/codecs/k-lite_codec_pack_standard/K-Lite_Codec_Pack_9.6.0_Standard.exe

Step 3: Test all file media and video Big Grin
Quote:can one file mp3,mp4,flv,avi,mpeg....
can play list video+media: .wpl



RE: video+audio play all on Windown Media Play - Midori - 2013-11-26

perfect work thanks . Wink Heart


RE: video+audio play all on Windown Media Play - juli_0 - 2013-12-25

thanks you very much