Jump to content


Photo
Modal PopUp

Embedding Video into Modal

embed video modal dms2 embedding pop-up

Best Answer MrFent , 13 April 2014 - 02:26 AM

Hello, there you embed videos the same way you would with anything else. Just copy and paste the embed code in the PopUp body, or into a page if you have a page selected as the source. There isn't any special code built in that stops a video from playing if the modal closes. This is the same with all Bootstrap modals across the board. 

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 kwp4petar

kwp4petar

    Newbie

  • Members

  • 4 posts
  • Country: Country Flag

Posted 08 April 2014 - 04:44 AM

Dear PageLine forums,

I just purchased the Modal section for my site.  I'm trying to embed a video into a modal pop-up that appears without a button. How do I do this?  I've been looking for hours and can't find the right way to do this.  I guess a better question would be where do I even begin to edit the code on the site (since I don't know how to use hooks/don't know what hooks are).Here are my questions summed up I guess:

1. How to embed video into a pop-up modal (that doesn't require a button
2. How to stop the video from playing when modal is closed (I know this has to do with clearing the src in jQuery)
3. How do I use hooks/What are hooks....or how do I edit the actual code of the site (beyond the DMS editor's "Custom CSS" tab)

Thanks for your help!



#2 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 12 April 2014 - 12:20 AM

Hi there - i have moved this to the product support forum so the Dev can advise on this for you. I will Let Chris know i moved this here for you. 

 

With Regards hooks - please see the support documentation relating to hooks http://docs.pageline.../advanced/hooks



#3 MrFent

MrFent

    Advocate

  • Members


  • 255 posts
  • Country: Country Flag

Posted 13 April 2014 - 02:26 AM   Best Answer

Hello, there you embed videos the same way you would with anything else. Just copy and paste the embed code in the PopUp body, or into a page if you have a page selected as the source. There isn't any special code built in that stops a video from playing if the modal closes. This is the same with all Bootstrap modals across the board. 







Also tagged with one or more of these keywords: Modal PopUp, embed, video, modal, dms2, embedding, pop-up