Announcement

Collapse
No announcement yet.

embedding a youtube video in a post, iframe

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 6th Nov '17, 6:28pm.

  • #2
    Try pasting the U-tube share code into the insert video icon in the enhanced editor then post reply.
    vB Mods That Rock!

    Comment


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


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

        TalkNewsUK - My vBulletin 5.5.6 Demo
        AdminAmmo - My Cloud Demo

        Comment

        Related Topics

        Collapse

        Working...
        X