Relating to the site
By Method
#221798 Is there a way to show the embedded youtube video, instead of having to go to the actual youtube site? vBulletin has this feature, i don't know if phpBB can do this.
User avatar
By chilango41
#222800
Method wrote:Is there a way to show the embedded youtube video, instead of having to go to the actual youtube site? vBulletin has this feature, i don't know if phpBB can do this.


Been wondering the same thing.
User avatar
By RPGonzos_EJ
#222827 phpBB does not natively support youtube embeds, but if the admins want to manually add the tags to the BBCode it would work.

Need to add a tag replacement [youtube]{TEXT}[/youtube]

and than you use the embed code from youtube in the post

[youtube]<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/wqXW-OMvpP0?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wqXW-OMvpP0?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>[/youtube]

and it should than embed the video into the post.

But again it does, to my knowledge, requires a manual entry in the custom BBCode entry section of the admin panel. :)
User avatar
By teal_dx
#222830 http://www.youtube.com/watch?v=l1G7TJD6Xu0 :thumb:

But the version we are using does not support manually adding the codes as the video demonstrates... hmmm another reason to upgrade :popcorn:
User avatar
By RPGonzos_EJ
#223005 You can manually add the code into the BBCode class, looks like your running 2.0.20, I'll load it up in my test server and test the addition if you like.

I made a lot of custom additions just playing with it on a board once, but it all varies by version of course.
User avatar
By RPGonzos_EJ
#223206 If your interested i figured this out for your version.

Just thought i would share.

Demonstration

http://testforum.lazurous.com/viewtopic.php?p=2#2

that's using the exact forum version you have here :)

you use it by pasting the video URL in between youtube tags

[youtube]http://www.youtube.com/watch?v=wqXW-OMvpP0[/youtube]

and below the video i actually have a optional URL thrown in there to click and go straight to the video on youtube