Okay
  Public Ticket #145051
Slider with button that onClick opens an modal with video
Closed

Comments

  • Hugo started the conversation
    Hiii ThemeNectar, i would like to know if is possible to have a button in a slider with a image, and when i click on the button, instead of open a new tab or a new page, it opens a modal popup where plays the vídeo. Regards, HB.
  •  1,077
    ThemeNectar replied

    Hey Hugo,

    If you just enter in a video link (youtube or vimeo) for the slider button it will automatically open it in a lightbox :)

  • Hugo replied

    Hiii ThemeNectar, yes i know, as the demo does. But i would want to put videos from other domains ( for example : http://videos.sapo.pt/5B4c1OHcFIjZnshna9MN ). I would like that this video would open in a modal popup.

     

    Regards,

    HB.

  •  1,077
    ThemeNectar replied

    Hey again Hugo, the prettyphoto plugin does not have the logic to parse videos for sites other than youtube or vimeo - you would need to modify the prettyphoto.js script located in the js folder to do so.

    Cheers

  • Hugo replied

    Hey ThemeNectar,

    i appreciate your attempted feedback.

     

    Kindly Regards,

    HB.