vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=232619

Youtube enabler for iPhone/iPod Touch in the CMS
by reimic
09 Jan 2010 08:53

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It should look like this:

http://img.skitch.com/20100109-1u1kb...ny11h9jsp8.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.

javivi0 11 Feb 2010 10:09

1 Attachment(s)
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

Jabong82 07 Mar 2010 00:23

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

Barakat 09 Mar 2010 01:55

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

now it will work

thanks a lot

Samhayne-MMS 01 Apr 2010 22:26

Thank you!

cmeinck 07 Apr 2010 14:45

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.


All times are GMT. The time now is 05:46.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.