Tagged: x
-
AuthorPosts
-
March 9, 2017 at 3:21 pm #1401075
Hi again,
I went ahead and added the following code:
jQuery(window).load(function() { jQuery('body').on('click', '.mejs-overlay-play', function() { jQuery(this).parents('.x-video.player').addClass('hide-icon'); }); });
And it’s working fine now. Please clear your browser’s cache and check the page again.
Cheers!
March 10, 2017 at 3:30 am #1401696Hi Nabeel,
Amazing! Thanks sooo much to you and the team, I appreciated this so much!
March 10, 2017 at 5:31 am #1401775You’re welcome! 🙂
March 24, 2017 at 12:31 pm #1419290Hi guys,
One last thing on this, is it possible to make the image itself clickable also (see attached image for reference),
I’ve found that the image graphic is ‘blocking’ the content behind it from being clicked,
Many thanks,
Barry
March 24, 2017 at 10:40 pm #1419819Hey Barry,
Thanks for updating in! To resolve your issue, please make use of this custom css instead:
.mejs-video .mejs-layer { background-image: url(http://2016testing.piranhabar.ie/wordpress/wp-content/uploads/2017/03/PB_Play_pink.svg); background-position: center center; background-repeat: no-repeat !important; background-size: 100px; } .x-video-icon:before { display: none; }
This should add the background image to the clickable area and remove the old play icon.
Hope this helps. Kindly let us know.
March 25, 2017 at 8:40 am #1420044Hi Rue Nel,
Thanks so much for this, exactly what I hoped for 🙂
Just one small thing, when I’m playing a video now and then pause the video, I can’t continue on playing as the screen is stuck (as in the video is frozen in the div.). It feels like something is covering it from being clicked.
Does this make sense?
Cheers
Barry
March 25, 2017 at 9:28 pm #1420408Hi there,
It seems to be okay, I can play it after pausing it. Is it specific to a video? What device you’re testing it with?
Thanks!
March 26, 2017 at 8:44 am #1420641This reply has been marked as private.March 26, 2017 at 8:48 am #1420643This reply has been marked as private.March 26, 2017 at 7:32 pm #1420962Hey Barry,
Thanks for updating in! I have tested the page and I can confirm that it is somehow block and you cannot play again the video after you have paused it. To resolve this, please add the following css code in the customizer, Appearance > Customize > Custom > Edit Global CSS
.hide-icon .mejs-video .mejs-layer { display: none !important; }
Please let us know if this works out for you.
March 27, 2017 at 5:26 am #1421430Hi Rue Nel,
Amazing, works perfectly, thanks so much!
March 27, 2017 at 5:45 am #1421449You’re welcome! 🙂
-
AuthorPosts