Open bjm1 opened 6 years ago
One more "YouTube Live" minor bug. The current time counts down and is not swappable (click disabled). Seems like it should be counting up (since duration unknown). Perhaps, just reverse the default and disable click, if Live?
yeah, the 'live' detection for youtube videos is broken.
Feel free to take a look and create a PR 👍
The progressive embed method works for YouTube Live streams using the plyr Play icons inside the video box.
Outside the box, both click functions -- play/togglePlay (see below) don't work as expected when video is Live.
However, if YouTube video is NOT Live, then both work as expected.
on('.js-play', 'click', function () {
}