Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lisa 1 post 71 karma points
    1 week ago
    Lisa
    0

    Hello,

    I can't ad a new video with a YouTube or Vimeo link. Is there an other way to ad a video?

  • Lewis Smith 65 posts 274 karma points
    6 days ago
    Lewis Smith
    0

    Hi Lisa,

    I have used the following plugin a handful of times when using 7.5 and had no issues.

    https://our.umbraco.org/projects/website-utilities/insert-video-youtube-vimeo/

    I would suggest testing the plugin on a dummy 7.6 site first in case this plugin is not compatible with 7.6.

    Failing that, there are a few video plugins you can use that you can search for at: https://our.umbraco.org/projects/

    Thanks, Lewis

  • Craig Mayers 103 posts 332 karma points
    6 days ago
    Craig Mayers
    0

    Hi Lisa,

    You don't need a plugin for this - unless you really want to preview the video in the backend first (which I highly doubt).

    The way I would approach it, would be to ADD a custom property to my DocType (i.e. videoEmbedCode), this can be the full iframe embed code OR just the VideoID etc. and then you can pull it through on you template.

    @CurrentPage.VideoEmbedCode
    

    OR if you went with the video code only option, then see the example below:

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

    Good luck!

    Let us know how it goes.

    Thanks

    Craig

Please Sign in or register to post replies

Write your reply to:

Draft