Helpful Information
 
 
Category: vBulletin 4.x Template Modifications
Mini Mods - Youtube enabler for iPhone/iPod Touch in the CMS

If you add a Youtube Video in the CMS, you can't see it with an iPhone or iPod Touch. With this mod you could change that!



1) Log in into AdminCP.

2) Open the template "bbcode_video" in your Template Manager.

3) Find the line "<vb:elseif condition="$provider == 'youtube'" />"

4) Find the line "<vb:elseif condition="$provider == 'vimeo'" />"

5) Between these two lines replace with the following code:

<object width="100%" height="385" data="http://www.youtube.com/v/{vb:raw code}">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}">
<embed src="http://www.youtube.com/v/{vb:raw code}" type="application/x-shockwave-flash" allowfullscreen="true"></embed>
</object>

It should look like this:

http://img.skitch.com/20100109-1u1kbrmdajhkyradny11h9jsp8.gif

Now if you write something an insert an Youtube Video, you could also see it on your iPhone. If you have inserted a Video before you do this mod here, you must edit it, and save it again. Than this mod also works with you previous videos.

Hi,

Thaks for the mod :-)

one question.... in Chrome work fine but in IE8 I have a problem the size video is small

with parameter width="640" height="385" but not work....


adjunt screen

Hello is there a reason why some youtube videos work and some don't? Thank you.

wow ,, i was wondering today why it could not works for me ,,,,

now it will work

thanks a lot

Thank you!

This isn't working for me in the forums.

I made the edit and posted a video using vB's WYSWYG -- using the YouTube link.

The resulting video doesn't play in the iPhone.










privacy (GDPR)