How to safely allow embedded YouTube videos?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • malmazan
    replied
    Originally posted by Daky
    I just tried your bbcode, but ... for some reason all youtube videos on my site are showing this video:
    http://www.youtube.com/v/PEI2wuPN2uA&hl=es
    The main screen on bb was showing an example instead of the code. I have edited my original message. It should work now

    Leave a comment:


  • Daky
    replied
    I just tried your bbcode, but ... for some reason all youtube videos on my site are showing this video:
    Minutos musicales de Mi Vecino Tiermar, hoy con Gang Bang de Nacho Vegas.http://mivecinotiermar.blogspot.com

    Leave a comment:


  • malmazan
    replied
    Originally posted by Daky
    Well, i tried bbcode that is recommended here and full url of video did not work.
    The one I use is
    Code:
    <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/{param}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{param}&amp;hl=es" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
    Code like
    Code:
    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/xpcUxwpOQ_A&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/xpcUxwpOQ_A&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
    even though just pasting "xpcUxwpOQ_A" would work
    Last edited by malmazan; Sat 26 Jul '08, 11:15pm.

    Leave a comment:


  • Daky
    replied
    Well, i tried bbcode that is recommended here and full url of video did not work.

    Leave a comment:


  • malmazan
    replied
    Originally posted by Daky
    Is there a way to add bbcode for youtube to do this:

    [media]full-url[/media] ?

    Thanks

    I found that even of users paste the complete YouTube code, the extra parts are stripped and the bb code still works.

    Leave a comment:


  • Daky
    replied
    Is there a way to add bbcode for youtube to do this:

    [media]full-url[/media] ?

    Thanks

    Leave a comment:


  • malmazan
    replied
    Originally posted by Kerry-Anne
    Sorry, there is no function to do this.
    Actually, it can be done. A conditional can be used on a template to show icons for custom BB on specific forums, though those users that learn the code will be able to use it on the rest of the forums.

    Leave a comment:


  • peterska2
    replied
    Sorry, there is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.

    Leave a comment:


  • malmazan
    replied
    Would there be a way via templates to have the YouTube icon only show on specific forums?

    (I.e., on some sub-forums I hide icons on the editor)

    I'm trying to have the capability of embedding youtube videos only on the off-topic sub-forum.

    Leave a comment:


  • The Gismo Man
    replied
    Ok sussed, it, i changed the "Use {option}" function to NO in the BBmanager

    Thanks for your help

    Leave a comment:


  • peterska2
    replied
    Right. You cannot do [youtube=the video id]some text[/youtube] It has to be [youtube]the video id[/youtube]

    Leave a comment:


  • The Gismo Man
    replied
    I copied and pasted from the first page the code:-
    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

    Then i set two attempts to view, one with the text and the other using the wrap around from my button that i set

    Leave a comment:


  • peterska2
    replied
    ok thanks

    You won't find the movie with your code - this is what is being output
    Code:
    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/Mini V's Fiat 500"></param><embed src="http://www.youtube.com/v/Mini V's Fiat 500" type="application/x-shockwave-flash" width="425" height="350"></embed></object></div>
    What exactly did you input and what exactly do you have for your replacement for the BBCode?

    Leave a comment:


  • The Gismo Man
    replied
    Originally posted by Kerry-Anne
    The link is useless then If we can't see the post then we are still guessing.
    Ok, i've set the permissions to allow non registered users access for a short time, hopefully so that you can check my problem

    Leave a comment:


  • peterska2
    replied
    The link is useless then If we can't see the post then we are still guessing.

    Seriously though, recheck all your setup. If you are convinced it is correct then you will need to ask at vBulletin.org for more help or make it so that we can view the post to see exactly what the code is doing then we know why it is not working.

    Leave a comment:

Related Topics

Collapse

Working...