embedding a youtube video in a post, iframe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • braintrainnerd
    Senior Member
    • Oct 2017
    • 228
    • 5.0.x

    embedding a youtube video in a post, iframe

    Hi all.

    So far I've been been adding adding a link to a youtube video in a post by clicking the link icon, then pasting in the url that appears when I click on "share" underneath the youtube video ie. "https://youtu.be/IJZXiWj0uHQ". However, with this method, videos watched in my forum are not counted as a views by Youtube.

    I've done some googling, and it appears that only videos that are embedded (not shared) count as views. So on youtube underneath the video, I click on "share", then "embed", and I get this type of code:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/IJZXiWj0uHQ" frameborder="0" allowfullscreen></iframe>

    How can I add this code to a post? I tried to just paste it into a post, but it just shows as the text string "<iframe width="560" height="315" src="https://www.youtube.com/embed/IJZXiWj0uHQ" frameborder="0" allowfullscreen></iframe>". I've tried clicking on the link icon then pasting the code into the url field, but a message says the url is not correct.

    I searched the vbulletin forum and a post from 2012 suggested using a static html module, but I don't know if that instruction is still relevant, and I don't know how to apply that to invidual posts?

    Thank you.

    EDIT: The above links are not from my youtube channel, I am just using the links as an example.
    Last edited by braintrainnerd; Mon 6 Nov '17, 5:28pm.
  • Carrfixr
    Senior Member
    • May 2017
    • 1364
    • 5.5.x

    #2
    Try pasting the U-tube share code into the insert video icon in the enhanced editor then post reply.

    Comment

    • braintrainnerd
      Senior Member
      • Oct 2017
      • 228
      • 5.0.x

      #3
      I think I definitely need to use the embed code in order to register view counts with Youtube. If I use the share code, even if people watched the videos on my forum a million times, the view count would be zero for my Youtube channel.

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        You cannot embed HTML in a post on a cloud site.

        The way to embed videos in the post is using the video tags, and you would use the "movie" button in the editor for this.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        Related Topics

        Collapse

        Working...