Title: FortMaxWave's Replies | WordPress.org

---

# FortMaxWave

  [  ](https://wordpress.org/support/users/knightwave/)

 *   [Profile](https://wordpress.org/support/users/knightwave/)
 *   [Topics Started](https://wordpress.org/support/users/knightwave/topics/)
 *   [Replies Created](https://wordpress.org/support/users/knightwave/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/knightwave/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/knightwave/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/knightwave/engagements/)
 *   [Favorites](https://wordpress.org/support/users/knightwave/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Equal Height Columns] PHP 7.2 & count()](https://wordpress.org/support/topic/php-7-2-count/)
 *  [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-count/#post-11585698)
 * [@chrisvendiadvertisingcom](https://wordpress.org/support/users/chrisvendiadvertisingcom/)
 * Can you tell me how to use the polyfill?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Equal Height Columns] PHP 7.2 & count()](https://wordpress.org/support/topic/php-7-2-count/)
 *  [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-count/#post-11580530)
 * Same problem here with PHP 7.2 🙁
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Easy Toggles] Cannot add more than one toggle in a page](https://wordpress.org/support/topic/cannot-add-more-than-one-toggle-in-a-page/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-add-more-than-one-toggle-in-a-page/#post-11493276)
 * Ok, I think the problem comes with the “span.easy_toggle” itself. If placed right
   after a paragraph, it merges with it and break the JS logic. Its kinda weird..
 * Maybe you should change the <span> for a <div> or add a wrapper (div) around 
   the toggle.
 * Let me know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] 404 error on admin-ajax.php](https://wordpress.org/support/topic/404-error-on-admin-ajax-php/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/404-error-on-admin-ajax-php/#post-9983847)
 * I disabled ModSecurity module in the cPanel for that domain and it seems to work
   again. I will talk with my provider to see what changed lately.
 * Thanks again for your time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] 404 error on admin-ajax.php](https://wordpress.org/support/topic/404-error-on-admin-ajax-php/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/404-error-on-admin-ajax-php/#post-9978348)
 * Hi George, thanks for you answer.
 * I did try (with just WooCommerce, WooCommerce Multilingual & WPML with basic 
   store theme) = Same result.
 * About admin-ajax, it’s working fine elsewhere on the site. It’s just when i try
   to save a product translation with the “woocommerce editor” that I get a 404 
   and nothing happens after that.. It’s weird.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Birthdays Widget] Birthday date is missing the month since the last update](https://wordpress.org/support/topic/birthday-date-is-missing-the-month-since-the-last-update/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/birthday-date-is-missing-the-month-since-the-last-update/#post-7569907)
 * thanks pal!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Birthdays Widget] Birthday date is missing the month since the last update](https://wordpress.org/support/topic/birthday-date-is-missing-the-month-since-the-last-update/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/birthday-date-is-missing-the-month-since-the-last-update/#post-7569905)
 * any update?
 * richardvandermeer: What have you done exactly to bypass the problem?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] HTML5 Video : auto-play only when popup opens and pause when popup is closed](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/#post-7151140)
 * Here is my code I used (for reference if someone else has the same problem)..
   
   My code is maybe not optimized or something (I’m not a javascript expert) but
   it works.. If someone else have a better solution and want to share it… Go for
   it..
 *     ```
       <script type="text/javascript" src="{{SERVER PATH}}/js.cookie.js"></script>
   
       <script type="text/javascript">
       jQuery(document).ready(function () {
         if (Cookies.get('popmake-auto-open-{{POPMAKE POST ID}}-{{POPMAKE COOKIE ID}}') === undefined ){
         jQuery('{{VIDEO ID}}').prop('autoplay', true);
        }
       });
   
       jQuery('#popmake-{{POPMAKE POST ID}}')
       	.on('popmakebeforeClose', function () {
       		var $video = jQuery('video', jQuery(this));
       		$video[0].pause();
       	});
       </script>
       ```
   
 * And HTML looks like this:
 *     ```
       <video id="{{VIDEO ID}}" controls width="1280" height="720">
       <source src="{{VIDEO SOURCE}}.mp4" type="video/mp4" />
       <source src="{{VIDEO SOURCE}}.webm" type="video/webm" />
       <source src="{{VIDEO SOURCE}}.ogv" type="video/ogg" />
       </video>
       ```
   
 * * I used JS Cookie script (and jQuery). Download script here: [https://github.com/js-cookie/js-cookie](https://github.com/js-cookie/js-cookie)
   **
   Replace the {{ }} with your own ID.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] HTML5 Video : auto-play only when popup opens and pause when popup is closed](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/#post-7151130)
 * Hi,
    Your code did not worked for me but I have found a solution by validating
   if cookie exists and append the autoplay on the video tag if not..
 * The only thing that would be easier for me would be if the cookie name wouldn’t
   include the post ID in it.. That way, I could use the same function on multilanguage
   pages/sites.. Do you think it would be possible in a next release?
 * Thanks for your support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] HTML5 Video : auto-play only when popup opens and pause when popup is closed](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/#post-7151109)
 * I think that I forgot to mention that the popup is trigger on auto-open after
   page has loaded.. Is there any difference in the javascript?!
 * thanks again..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] HTML5 Video : auto-play only when popup opens and pause when popup is closed](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/#post-7151106)
 * humm pretty basic html 5 integration:
 * <video class=”video-player” controls width=”1280″ height=”720″>
    <source src=”
   [http://video_source.mp4&#8243](http://video_source.mp4&#8243); type=”video/mp4″/
   > <source src=”[http://video_source.webm&#8221](http://video_source.webm&#8221);
   type=”video/webm” /> <source src=”[http://video_source.ogv&#8221](http://video_source.ogv&#8221);
   type=”video/ogg” /> </video>
 * Could it be because que function trigger the play() action before the video has
   loaded?! Is there a simple way to add code to wait a few miliseconds before trigger
   the play()?
 * thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] HTML5 Video : auto-play only when popup opens and pause when popup is closed](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/)
 *  Thread Starter [FortMaxWave](https://wordpress.org/support/users/knightwave/)
 * (@knightwave)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/html5-video-auto-play-only-when-popup-opens-and-pause-when-popup-is-closed/#post-7150993)
 * I cannot give you a link because Im working in localhost.
 * but here’s my javascript that I used:
 *     ```
       <script type="text/javascript">
   
       jQuery('#popmake-17')
       	.on('popmakeBeforeClose', function () {
       		var $video = jQuery('video', jQuery(this));
       		$video[0].pause();
       	});
   
       jQuery('#popmake-17')
       	.on('popmakeBeforeOpen', function () {
       		var $video = jQuery('video', jQuery(this));
       		$video[0].play();
       	});
       </script>
       ```
   
 * the “close” function is working fine but not the “play”..
    No JS errors in console..
 * I also tried “popmakeAfterOpen” like you said in your last comment, the code 
   in your doc is “popmakeBeforeOpen” ([http://docs.wppopupmaker.com/article/86-start-video-when-the-popup-opens](http://docs.wppopupmaker.com/article/86-start-video-when-the-popup-opens))..
   but no luck..
 * Hope it helps..
 * Thanks

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