How to safely allow embedded YouTube videos?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #61
    Correct. That is why I do not recommend enabling HTML.

    Comment

    • alhoori
      New Member
      • Oct 2006
      • 25
      • 3.6.x

      #62
      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 ?

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #63
        I don't think you can use 100% width on embedded objects like that.

        Comment

        • styleforum1
          Member
          • May 2007
          • 37
          • 3.6.x

          #64
          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.
          Please install Prev/Next to nav menu mod and make it a little easier for everyone to browse your forum.

          Comment

          • legionofangels2
            Senior Member
            • Feb 2007
            • 701

            #65
            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:

            Comment

            • dargox
              New Member
              • Apr 2008
              • 5
              • 3.8.x

              #66
              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

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #67
                You need to use the example code in your post, like this:

                [youtube]JFwCCL0Vh6U[/youtube]

                Comment

                • legionofangels2
                  Senior Member
                  • Feb 2007
                  • 701

                  #68
                  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.

                  Comment

                  • dargox
                    New Member
                    • Apr 2008
                    • 5
                    • 3.8.x

                    #69
                    hey guys thanks a lot, now I understand jeje it´s alive! it´s working! thanks a lot

                    Comment

                    • jorgesito
                      New Member
                      • Apr 2008
                      • 28

                      #70
                      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

                      Comment

                      • Ninjadude101
                        Member
                        • Apr 2008
                        • 56
                        • 3.6.x

                        #71
                        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.

                        Comment

                        • The Gismo Man
                          Senior Member
                          • Apr 2008
                          • 430
                          • 5.7.0

                          #72
                          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
                          https://thebookjoint.com/forums/forum.php - for all things relating to books especially Jack Reacher

                          Comment

                          • peterska2
                            Senior Member
                            • Oct 2003
                            • 8869
                            • 3.7.x

                            #73
                            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.

                            Comment

                            • The Gismo Man
                              Senior Member
                              • Apr 2008
                              • 430
                              • 5.7.0

                              #74
                              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]
                              https://thebookjoint.com/forums/forum.php - for all things relating to books especially Jack Reacher

                              Comment

                              • peterska2
                                Senior Member
                                • Oct 2003
                                • 8869
                                • 3.7.x

                                #75
                                Please provide a link to an affected post on your forum

                                Comment

                                Related Topics

                                Collapse

                                Working...