How to safely allow embedded YouTube videos?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • The Gismo Man
    Senior Member
    • Apr 2008
    • 430
    • 5.7.0

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

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

      Comment

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

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

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

          Comment

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

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

              #81
              Right. You cannot do [youtube=the video id]some text[/youtube] It has to be [youtube]the video id[/youtube]

              Comment

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

                #82
                Ok sussed, it, i changed the "Use {option}" function to NO in the BBmanager

                Thanks for your help
                https://thebookjoint.com/forums/forum.php - for all things relating to books especially Jack Reacher

                Comment

                • malmazan
                  Senior Member
                  • Jan 2006
                  • 974
                  • 4.2.X

                  #83
                  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.
                  Vote for these issues:

                  Comment

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

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

                    Comment

                    • malmazan
                      Senior Member
                      • Jan 2006
                      • 974
                      • 4.2.X

                      #85
                      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.
                      Vote for these issues:

                      Comment

                      • Daky
                        Member
                        • Jan 2006
                        • 55

                        #86
                        Is there a way to add bbcode for youtube to do this:

                        [media]full-url[/media] ?

                        Thanks

                        Comment

                        • malmazan
                          Senior Member
                          • Jan 2006
                          • 974
                          • 4.2.X

                          #87
                          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.
                          Vote for these issues:

                          Comment

                          • Daky
                            Member
                            • Jan 2006
                            • 55

                            #88
                            Well, i tried bbcode that is recommended here and full url of video did not work.

                            Comment

                            • malmazan
                              Senior Member
                              • Jan 2006
                              • 974
                              • 4.2.X

                              #89
                              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.
                              Vote for these issues:

                              Comment

                              • Daky
                                Member
                                • Jan 2006
                                • 55

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

                                Comment

                                Related Topics

                                Collapse

                                Working...