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: HTML 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> 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. Download No files for download. |