Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Damian

    (@timersys)

    Hi, please read the FAQ section of the popup where we post a solution for that. You will need some basic coding skills to achieve what you want.

    Regards

    Thread Starter bortnikovarkadiy

    (@bortnikovarkadiy)

    Thread Starter bortnikovarkadiy

    (@bortnikovarkadiy)

    Hi, could you, please, give instructions like for dummies?
    Where should I put script.js file?
    Where should I put youtube.php file?

    Thank you.

    dg

    (@denizgezgin)

    Thank you for the fix Damian! Any chance this will be implemented to the plugin itself in the future?

    @bortnikovarkadiy you can follow the steps, mostly explained in youtube.php:

    1- Put script.js and youtube.php files in your WordPress “plugins” folder.
    2- Go to wp-admin/plugins and enable the “Popups plugin Youtube fix”
    3- In script.js file, replace ‘ID_POPUP’ with the id of your popup (do not include “spu-“, just write the numbers)
    4- Edit your iframe by wrapping it in a <div id=”popupVid”>
    5- Add ?enablejsapi=1 at the end of your youtube embed code.

    After steps 4 and 5, your iframe code should look similar to this:

    <div id="popupVid">
       <iframe width="500" height="315" src="https://www.youtube.com/embed/T39hYJAwR40?enablejsapi=1" frameborder="0" allowfullscreen></iframe>
    </div>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Youtube video doesn’t stop after closing popup’ is closed to new replies.