video+audio play all on Windown Media Play
#1
Photo 
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/...andard.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


Attached Files Thumbnail(s)
           
Reply
#2
Heart 
perfect work thanks . Wink Heart
Reply
#3
thanks you very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)