Title: Video Close Playing
Last modified: August 30, 2016

---

# Video Close Playing

 *  Resolved [henrique.fcs](https://wordpress.org/support/users/henriquefcs/)
 * (@henriquefcs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/)
 * I’m already use the code JS:
 *     ```
       $('#eModal-1 .close-modal').click(function(e){
           e.preventDefault();
           /* Do video.js stuff here. */
           $('#eModal-1').emodal('close');
       });
       ```
   
 *     ```
       jQuery('#popmake-123')
       	.on('popmakeBeforeClose', function () {
       		var $video = jQuery('video', jQuery(this));
       		$video[0].pause();
       	});
       ```
   
 *     ```
       jQuery('.popmake').on('popmakeBeforeOpen', function () {
         jQuery('video')[0].play();
       });
       ```
   
 * But dont work… I dont know what is the type of embed is, but the links is this:
 *     ```
       <IFRAME SRC="http://streamin.to/embed-7eo7sucmwe5l-640x360.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=640 HEIGHT=360></IFRAME>
       ```
   
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604011)
 * [@henriquefcs](https://wordpress.org/support/users/henriquefcs/) When you open
   multiple repeat topics you hit the spam queue. If you want to add to this topic
   please do.
 *  Thread Starter [henrique.fcs](https://wordpress.org/support/users/henriquefcs/)
 * (@henriquefcs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604027)
 * [@jan](https://wordpress.org/support/users/jan/) thanks for waming. When I opened
   this topic, I dont receve confirmation of that.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604115)
 * [@henrique](https://wordpress.org/support/users/henrique/).fcs – Normally in 
   the iframe src includes an ?autoplay=true type of argument. As I am not seeing
   that here I am going to assume that the video is set to auto play no matter what
   and the standard solutions won’t work for that.
 * We need to find out if you can embed a streamin.to video without it auto playing
   and then determine how to start it.
 * For youtube for instance the JS we give people will remove the ?autoplay=true
   from the src and add it when the popup opens, then remove it again when it closes.
 * Hope that helps.
 *  Thread Starter [henrique.fcs](https://wordpress.org/support/users/henriquefcs/)
 * (@henriquefcs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604117)
 * [@danieliser](https://wordpress.org/support/users/danieliser/) Thanks!
 * But you know if I can use another method to stop video? Can you do any suggestion?
   In my site I have a bad problem with this videos working on a Tab system… site:
   [http://topfilmeshd.org/saint-seiya-soul-of-gold-1080p-fullhd/](http://topfilmeshd.org/saint-seiya-soul-of-gold-1080p-fullhd/)
 *  Thread Starter [henrique.fcs](https://wordpress.org/support/users/henriquefcs/)
 * (@henriquefcs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604121)
 * Oh look this, maybe can help…
 * This page is for chouse the option to watch:
    [http://megafilmeshd.net/que-horas-ela-volta/](http://megafilmeshd.net/que-horas-ela-volta/)
 * And this is source code of the modal movie playing:
    [http://megafilmeshd.net/player/cz.php?v=0FI6VLCS10TI2VP5JLAONQRAW](http://megafilmeshd.net/player/cz.php?v=0FI6VLCS10TI2VP5JLAONQRAW)
   view-source:[http://megafilmeshd.net/player/cz.php?v=0FI6VLCS10TI2VP5JLAONQRAW](http://megafilmeshd.net/player/cz.php?v=0FI6VLCS10TI2VP5JLAONQRAW)
 * Thanks again!

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

The topic ‘Video Close Playing’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [close](https://wordpress.org/support/topic-tag/close/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * 5 replies
 * 3 participants
 * Last reply from: [henrique.fcs](https://wordpress.org/support/users/henriquefcs/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/video-close-playing/#post-6604121)
 * Status: resolved