NetHorse |
01-27-2012 05:44 AM |
Quote:
Originally Posted by Sid70
(Post 18714986)
Well, with all respect it seems that using the tag could be much more
convenient with pasting the whole youtube url not just a flick code imho.
|
AME had a nice little plugin for vbulletin forums, all you would have to do is post the link and it would automatically embed the player for supported sites.
Each vbulletin update they changed it making the plugin not work correctly. Pretty frustrating, because that AME plugin is how it should work out of the box.
http://www.vbulletin.org/forum/showthread.php?t=150863
It's easy to change it to the way you want though.
Instead of :
Code:
<iframe class="restrain" title="YouTube video player" width="640" height="390"
src="//www.youtube.com/embed/{vb:raw code}" frameborder="0"></iframe>
change it to:
Code:
<object width="853" height="480"><param name="movie" value="{vb:raw
code}?version=3&hl=en_US"></param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always"></param><embed
src="{vb:raw code}?version=3&hl=en_US" type="application/x-shockwave-flash"
width="853" height="480" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Vbulletin is stupid. Youtube changed the default option to use iframes using their new embed URL to clean up the code, so vbulletin changed the BB code to add the youtube string after embed/
With the old way all you have to do is copy the link in the designated BB tag and it will embed the player.
It's a simple fix, just modify the bbcode_video template under bbcode layout templates.
|