Copied to clipboard

Flag this post as spam?

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


  • Alex Palacky 6 posts 76 karma points
    Oct 24, 2018 @ 00:13
    Alex Palacky
    0

    Adding a modal video link to content page

    Hi,

    New Umbraco user here so this may be a silly question!

    We have some content on our website which we have added a link to a YouTube video, however when clicking the link it takes you out to YouTube.

    In other sections of the website it allows us to have a modal video link and the video then pops up in the screen.

    Is there any easy way to add a modal video link to an existing Content Template?

    Thanks,

    Alex

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Oct 24, 2018 @ 06:54
    Michaël Vanbrabandt
    0

    Hi Alex,

    first of all welcome to the Umbraco community!

    Not a silly question but doesn't have nothing to do with Umbraco itself I think. You just need to add some html to your view in order to make a model popup which contains a playing video.

    Are you using Bootstrap? If so you can use the modal component:

    https://getbootstrap.com/docs/4.0/components/modal/

    together with the HTML video tag:

    https://www.w3schools.com/html/html5_video.asp

    Hope this helps!

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft