PDA

View Full Version : [vb4] Youtube Player - NEW skin v.3



admin
11-12-2010, 07:49 PM
Info:

Get the new YouTube player skin for your vbulletin.

Live Demo (http://www.logect.com/entry.php?b=23)

Before :

http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/12/11/07/52131292071770.jpg

After :

http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/12/11/07/68991292071797.jpg

Installation:

1- Open your bbcode_video template

Search for :

<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
<param name="wmode" value="transparent" />
<!--[if IE 6]>
<embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}" />
<![endif]--></object>

2- replace all with the following code :

<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}?version=3">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
<param name="wmode" value="transparent" />
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<!--[if IE 6]>
<embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390" />
<![endif]--></object>

Done.

History:
v3.0.1 : 06-December-2010 : Fixed for Full screen access.