• 0
Sign in to follow this  
Followers 0

Modal PopUp Embedding Video into Modal


Question

Posted · Report post

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!

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

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. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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.pagelines.com/advanced/hooks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0