How to safely allow embedded YouTube videos?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • The Gismo Man
    replied
    Originally posted by Kerry-Anne
    Please provide a link to an affected post on your forum
    I do not allow non registered users access, but, here's the link

    Leave a comment:


  • peterska2
    replied
    Please provide a link to an affected post on your forum

    Leave a comment:


  • The Gismo Man
    replied
    Originally posted by Kerry-Anne
    Make sure you are just using the video ID (the one with the numbers and letters) and no other part of the URL to the youtube page.
    Yes, i am doing that, for example:-
    [youtube]4Xf9GzZQEBs[/youtube]

    Leave a comment:


  • peterska2
    replied
    Make sure you are just using the video ID (the one with the numbers and letters) and no other part of the URL to the youtube page.

    Leave a comment:


  • The Gismo Man
    replied
    I'm trying to make this work, but, sadly, all i see is a white box, i've set bbcode to yes on the database, but no joy.
    I've even managed to utilise a symbol to select the tags for me.

    Anyone else had this problem??

    Originally posted by Jake Bunce
    You can use the embed code on YouTube's site to make a BB code:

    Admin CP -> Custom BB Codes -> Add New BB Code

    Title - YouTube
    Tag - youtube
    Replacement:

    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>
    Example - [youtube]JFwCCL0Vh6U[/youtube]

    Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U

    Leave a comment:


  • Ninjadude101
    replied
    I used this, after a fashion. I didn't realize about the {param} part. This is where i was going wrong with making BB.
    So, thanks.

    Leave a comment:


  • jorgesito
    replied
    i added the code and everything like the first reply said, but when I tried to add a video on my forum...nothing showed up except the text i typed under the vid

    Leave a comment:


  • dargox
    replied
    hey guys thanks a lot, now I understand jeje it´s alive! it´s working! thanks a lot

    Leave a comment:


  • legionofangels2
    replied
    If you're going to do it this way one thing to note is to tell everyone that can post this add on or bb code, not to use the feature or related parts of the code.

    Look in between the = signs for the exact code. Cause sometimes you'll look at one video then another and it will say =feature&related and you don't want that part of the code and it won't work.

    So stick with only the crazy ID of the videos with numbers, symbols, and letters for the vids.

    Leave a comment:


  • Jake Bunce
    replied
    You need to use the example code in your post, like this:

    [youtube]JFwCCL0Vh6U[/youtube]

    Leave a comment:


  • dargox
    replied
    Originally posted by Jake Bunce
    You can use the embed code on YouTube's site to make a BB code:

    Admin CP -> Custom BB Codes -> Add New BB Code

    Title - YouTube
    Tag - youtube
    Replacement:

    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>
    Example - [youtube]JFwCCL0Vh6U[/youtube]

    Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U

    Hi, I new on this, I already do this in the admincp, but my embed codes doesn´t appears at the post, do I need to install a kind of software or something? I have the vbulletin 3.6.8 patch level 2, thanks for your answers

    Leave a comment:


  • legionofangels2
    replied
    Originally posted by Hummie
    I put it in the other forum, but I'll ask here too. The wmv code they gave, I got to work in IE, but not in firefox. Any suggestions?
    4 months later I see this...

    The reason why it doesn't work in Firefox is because it requires Active X to display WMV of any type. I ran into this problem with the Radio/TV Add On at vb.org as I had visualization on IE but not FF, and I only use FF.

    You need to go here:



    Download and Install this:



    Then restart browser and possibly restart pc.

    Then you will see WMV in Firefox

    Proof:



    -----------------------------------------------

    As far as the discussion of BB Code, how to make it easier to post vids, and security.

    We used to use the AME hack. However the creator had some personal issues happen and could no longer support the product, so it wasn't being updated for new video types.

    We switched to this one and not only does it support like 30 diff types of vids, but you only need the URL link, AND you can choose which one's you want to work or not. So for example if you don't want porn tube, you deselect it in the Admin CP.

    Best mod for video embedding in posts, PLUS he's usually good about doing updates if he has a few requests built up:

    Leave a comment:


  • styleforum1
    replied
    Kind of a frivilous question, but would there be any way to have this "I agree" box collapse itself after you click "I AGREE"? Here's the BBCode replacement I'm using (works, that other one linked from another thread was messy and broken)

    Code:
    <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466">
    <tr><td class="smallfont"><strong>IMPORTANT NOTICE:</strong> No media files are hosted on these forums. By clicking the link below you agree to view content from an external website. We can not be held responsible for the suitability or legality of this material. If the video does not play, wait a minute or try again later. &nbsp; &nbsp; &nbsp; <a href="#" onclick="return toggle_collapse('{param}')">I AGREE</a></td></tr>
    <tbody id="collapseobj_{param}" style="display:none;"><tr><td class="alt1" align="center">
    <object width="425" height="350">
    <param name="movie" value="[URL]http://www.youtube.com/v/{param}"></param[/URL]>
    <embed src="[URL]http://www.youtube.com/v/{param[/URL]}" type="application/x-shockwave-flash" width="425" height="350"></embed>
    </object></td></tr></tbody>
    </table>
    Thanks.

    Leave a comment:


  • Jake Bunce
    replied
    I don't think you can use 100% width on embedded objects like that.

    Leave a comment:


  • alhoori
    replied
    how to have a dynamic video size ? for example I need 100% width according to the space given . But when I did that , the (width ) borders of the video were black , any suggestions ?

    Leave a comment:

Related Topics

Collapse

Working...