Youtube Embedding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vivalanation
    Member
    • Oct 2013
    • 34
    • 4.2.X

    Youtube Embedding

    I'm trying to walk through how I set it up originally but cannot figure out. I have a BBcode called [video]. How I normally do it is do http://www.youtube.com/videourl. I looked and I don't have any BBcode whatsoever for this tag. So how in the world did I accomplish this? I don't see any addons installed for it either under Products.

    I'm on 4.2.2.

    Edit: Here is the BBcode I used: [video=youtube;Z4sKg18lTqw]http://www.youtube.com/watch?v=Z4sKg18lTqw[video] (I didn't put the proper slash on the final tag just so you can see the code), which is what I want, but it shows a URL instead of the video. The movie portion, Z4sKg18lTqw, gets automatically parsed into the tag. I like hyperlinking the whole URL to the tag.

    Last edited by vivalanation; Sun 10 Nov '13, 1:11am.
  • beishe8
    Senior Member
    • Oct 2005
    • 6782
    • 4.2.X

    #2
    http ://youtube.com/Z4sKg18lTqw
    Originally posted by vivalanation
    I'm trying to walk through how I set it up originally but cannot figure out. I have a BBcode called [video]. How I normally do it is do http://www.youtube.com/videourl. I looked and I don't have any BBcode whatsoever for this tag. So how in the world did I accomplish this? I don't see any addons installed for it either under Products.

    I'm on 4.2.2.

    Edit: Here is the BBcode I used: [video=youtube;Z4sKg18lTqw]http://www.youtube.com/watch?v=Z4sKg18lTqw[video] (I didn't put the proper slash on the final tag just so you can see the code), which is what I want, but it shows a URL instead of the video. The movie portion, Z4sKg18lTqw, gets automatically parsed into the tag. I like hyperlinking the whole URL to the tag.

    http://i.imgur.com/AV4YcOn.png
    Remove the space after http and try:

    http ://youtu.be/Z4sKg18lTqw



    vB5 is unequivocally the best forum software, but not yet...

    Comment

    • vivalanation
      Member
      • Oct 2013
      • 34
      • 4.2.X

      #3
      Huh? There is no whitespace anywhere in what I posted.

      Comment

      • beishe8
        Senior Member
        • Oct 2005
        • 6782
        • 4.2.X

        #4
        Originally posted by vivalanation
        Huh? There is no whitespace anywhere in what I posted.
        There isn't in your post, there is one in my post, remove that and try to embed that.




        vB5 is unequivocally the best forum software, but not yet...

        Comment

        • vivalanation
          Member
          • Oct 2013
          • 34
          • 4.2.X

          #5
          I don't understand what you want me to do...

          I figured out what you wanted. I copied it and pasted it in to the tags and I get this:

          Last edited by vivalanation; Sun 10 Nov '13, 2:01am.

          Comment

          • beishe8
            Senior Member
            • Oct 2005
            • 6782
            • 4.2.X

            #6

            Originally posted by vivalanation
            I don't understand what you want me to do...

            I figured out what you wanted. I copied it and pasted it in to the tags and I get this:

            http://i.imgur.com/GtZjyEI.png
            This is the link without my whitespace after http:
            Code:
            http://youtu.be/Z4sKg18lTqw
            Click on the Insert Video icon in the editor and paste it in, it will become:
            Code:
            [video = youtube_share;Z4sKg18lTqw]http://youtu.be/Z4sKg18lTqw[/video]
            Does it work?

            Edit:
            Code does not work here, remove the whitespaces:
            [VID EO]h ttp://youtu.be/Z4sKg18lTqw[/VI DEO]
            Last edited by beishe8; Sun 10 Nov '13, 2:26am.


            vB5 is unequivocally the best forum software, but not yet...

            Comment

            • vivalanation
              Member
              • Oct 2013
              • 34
              • 4.2.X

              #7
              It does not work, still just creates a hyperlink to the Youtube video.

              Comment

              • beishe8
                Senior Member
                • Oct 2005
                • 6782
                • 4.2.X

                #8
                Originally posted by vivalanation
                It does not work, still just creates a hyperlink to the Youtube video.
                This editor is terrible.
                Just copy this:
                [VID EO]h ttp://youtu.be/Z4sKg18lTqw[/VI DEO]

                and paste it in in your forum without the whitespaces in it.


                vB5 is unequivocally the best forum software, but not yet...

                Comment

                • vivalanation
                  Member
                  • Oct 2013
                  • 34
                  • 4.2.X

                  #9
                  Same thing, just converts it to a hyperlink.

                  Comment

                  • beishe8
                    Senior Member
                    • Oct 2005
                    • 6782
                    • 4.2.X

                    #10
                    Originally posted by vivalanation
                    Same thing, just converts it to a hyperlink.
                    It not supposed to put <a ....</a> there.
                    It's mixing BBCode with HTML?


                    vB5 is unequivocally the best forum software, but not yet...

                    Comment

                    • vivalanation
                      Member
                      • Oct 2013
                      • 34
                      • 4.2.X

                      #11
                      Agreed, it should not be doing that. And the result seems to differ depending on which URL I link.

                      Right now it's just parsing the hyperlink, so I think it has something to do with the [video] tags, but before I did not have any specific BBcodes for it.
                      Last edited by vivalanation; Sun 10 Nov '13, 3:18am.

                      Comment

                      • Ion Saliu
                        Senior Member
                        • Sep 2010
                        • 172
                        • 4.2.X

                        #12
                        Axiomatic Colleague of Mine:

                        I faced the same problem. Posting YouTube videos never worked in my forum (vBulletin 4.2.0). The solution I found is to embed code with the editor in source mode. Every YouTube video has a function labeled embed code. You copy the code and paste it to your post:

                        http://forums.saliu.com/forum-admini...nistrator.html

                        On the YouTube page of the video, click Share, the Embed, then copy the code:

                        <iframe width="420" height="315" src="//www.youtube.com/embed/pg10ONophXY" frameborder="0" allowfullscreen=""></iframe>

                        Best of luck, axio!

                        Ion Saliu,
                        Videographer At-Large
                        Last edited by Ion Saliu; Sun 10 Nov '13, 7:44am.

                        Comment

                        • vivalanation
                          Member
                          • Oct 2013
                          • 34
                          • 4.2.X

                          #13
                          Hello,

                          Yes but I shouldn't have to.

                          Comment

                          • DemOnstar
                            Senior Member
                            • Nov 2012
                            • 1912

                            #14
                            You see?

                            Easy as that.......


                            Comment

                            • vivalanation
                              Member
                              • Oct 2013
                              • 34
                              • 4.2.X

                              #15
                              Huh?

                              Comment

                              Related Topics

                              Collapse

                              Working...