Hide background overlay when user click on play button for video

Support Forums for LiveMesh Themes & Plugins Forums Austin Theme Support Hide background overlay when user click on play button for video

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8491
    washingtondc
    Member

    Hello, Is there any how we can turn off background color when user plays video?

    Video I am trying to use is already dark so I do not want any overlay if possible. But I would like to keep overlay on image before user hits play button.

    Here is video I recorded if my question is not clear enough >> http://screencast-o-matic.com/watch/c2jlqDnsvn

    Let me know if this is possible.

    Thank you!

    #8530
    Raghavendra
    Moderator

    Can you try inserting the following JS code at line number 605 in js/main.js file and see if that helps?

    video_showcase.on("YTPStart", function () {
         jQuery(".ytp-video-showcase .overlay").fadeOut();
    });
    video_showcase.on("YTPPause", function () {
         jQuery(".ytp-video-showcase .overlay").fadeIn();
    });
    
    #8531
    washingtondc
    Member

    Works like a charm!!!

    Thank you so much

    #8541
    Raghavendra
    Moderator

    Cool. Thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide background overlay when user click on play button for video’ is closed to new replies.