Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gnagy

    (@gnagy)

    Thank you for your great support! Everything works like a charm! I’ve tried tons of popup plugins and I’m sure that your plugin is the best! Keep up the good work!

    Now I can start convert my visitors to subscribers..! Thanks!

    Thread Starter gnagy

    (@gnagy)

    Here is a solution for an other pupup, which had the same problem:

    “1) in your displet pop widget, give your YouTube iframe tag a class name. So your code in your widget should look something like this:
    <iframe class=”yt” src=”https://videourl.com&#8221; width=”600″ height=”448″></iframe>
    2) in displet-pop.php, find the function called hideDispletPop(). after the last line of code before the closing } in that function, add a new jQuery line that looks something like the following:

    function hideDispletPop() {
    	jQuery('#displetpop').hide();
    	jQuery('body').removeClass('displetpop');
    	jQuery(".yt").attr('src',''); /* new line here */
    }

    What that last line does is clears the ‘src’ attribute of your iframe. This basically says when you close the pop-up, set the iframe to nothing so there will be no video to play. When the pop-up opens again, it will open the default iframe in your widget until you close it again. “

    I guess this solution would also work here, I just have to find the function which hides the opoup (as “function hideDispletPop()” in the above solution).

    Could you help me in that?

    Thread Starter gnagy

    (@gnagy)

    Thank You for your answer!

    For now finally I made it to work with my html form, and it works almost perfectly! (I’m still waiting your solution because that would be much better!)

    The only problem I have is that in Google Chrome the video still plays after I close the popup and it can be very irritating for a new visitor. Is there any possibility to solve that problem?

    You can check it here: https://nagygergely.info/rolam/

    Thank You!

    Thread Starter gnagy

    (@gnagy)

    Hello,

    I installed your update, but unfortunatly it still can’t integrate mailpoet newsletter. Shall I wait or is it impossible to intagrate that plugin?

    The html code still doesn’t work, because when I use it the popup doesn’t show up.

    I’d really like to use your plugin, but unfortunatly I can’t use it until it will work with the mailpoet plugin.

    Thank You

    Thread Starter gnagy

    (@gnagy)

    Thank You for your quick answer! That would be great if you could do it.

    I’ve tried to add this html code as a text and in the preview it looks beautiful, but when I save it, the popup doesnt show up. It load somewhere in the background, because the video starts to play, but the popup doesn’t work when I use my html form. When I delete it it works and pops up perfectly..

    What can be the problem with the code?

    Thank You!

Viewing 5 replies - 1 through 5 (of 5 total)