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 81 karma points
    Sep 13, 2017 @ 13:44
    Lisa
    0

    Adding video

    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 211 posts 620 karma points c-trib
    Sep 15, 2017 @ 08:52
    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 164 posts 508 karma points
    Sep 15, 2017 @ 09:25
    Craig Mayers
    100

    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