Quote:
Originally Posted by Jabong82
Thank you very much. Great Mod Installed.
I have a question though. Is there a way to get this code to work so youtube videos can be displayed in an iphone?
I had a code which your mod replaced that allowed youtube videos to show in an iphone, however it was weird because it would show only some videos and some would be left with the little flash icon.
Any help would be appreciated. Thank you again for this mod though.
|
I am not sure if this will work, but I think the Iphone plays youtube videos if you have the embed tag in. So Try this:
Find:
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}">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
<param name="wmode" value="transparent" />
</object>
Replace with:
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}&fs=1">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}&fs=1" />
<param name="wmode" value="transparent" />
<param name="allowFullScreen" value="true" />
<embed
src="http://www.youtube.com/v/{vb:raw code}&fs=1"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true"
width="640"
height="385">
</embed>
</object>
You can reduce the embed width if it causes a problem with iphone screen. Once again, I am not sure it will work, give it a try, (I don't have an iphone) if it doesn't, remove the <embed></embed> tags.