N
N
Nixin7772017-02-28 12:06:48
JavaScript
Nixin777, 2017-02-28 12:06:48

How to check if the video has started or not?

There is a .wrapper_group block, it has an iframe (youtube) .video_groups" with a video and a .block_group block on top of it, when you hover over .wrapper_group, .block_group is hidden and .video_groups is visible, if you remove the mouse from .wrapper_group, then .block_group covers .video_groups back. How can I make .video_groups stay on click on play even when mouse is hidden with .wrapper_group?

$('.wrapper_group').hover(function () {
    $(this).children(".block_group").css('visibility', 'hidden');
}, function () {
    $(this).children(".block_group").css('visibility', 'visible');
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
romanu418, 2017-02-28
@romanu418

youtube API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question