[MyCode] Jw Player With Youtube
#1
Wink 
I use this on my board, so i thought i would release it here.

Expression:
\[youtube\](.*?)\[/youtube\]

Replacement:
<object id="mediaplayer" data="images/player/player.swf" type="application/x-shockwave-flash" width="480" height="270">
<param name="name" value="mediaplayer">
<param name="controlbar" value="over">
<param name="allowfullscreen" value="true"><param name="quality" value="high">
<param name="flashvars" value="file=$1&amp;controlbar=over&amp;stretching=fill">
<param name="src" value="images/player/player.swf">
</object>

Example:
[youtube]http://www.youtube.com/watch?v=fyuNidSrVik[/youtube]

This will make it run with the JW player, removing those annoying ad's and well that annoying vevo crap brought on by lovely youtube!

Screenshot:
[Image: muapsp.png]

Make sure you download the attachment and upload the "player" folder to your images folder.


Attached Files
.zip   player.zip (Size: 322.22 KB / Downloads: 488)
Reply
#2
good!!!!!
Nice share Mr.
Quote:BLOG : KENTOS.WEB.ID
FACEBOOK : http://facebook.com/amrikarisma
YM : amrikarisma
Reply
#3
Very nice share! Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)