mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Some updates regarding autoplay and loop
https://github.com/WWBN/AVideo/issues/3699
This commit is contained in:
parent
c1a3266604
commit
515fb52c75
4 changed files with 21 additions and 18 deletions
|
@ -1,21 +1,3 @@
|
|||
|
||||
function setImageLoop() {
|
||||
if (isPlayerLoop()) {
|
||||
$('.loopButton').removeClass('opacityBtn');
|
||||
$('.loopButton').addClass('fa-spin');
|
||||
} else {
|
||||
$('.loopButton').addClass('opacityBtn');
|
||||
$('.loopButton').removeClass('fa-spin');
|
||||
}
|
||||
}
|
||||
|
||||
function toogleImageLoop(t) {
|
||||
tooglePlayerLoop();
|
||||
if (typeof setImageLoop === 'function') {
|
||||
setImageLoop();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
var Button = videojs.getComponent('Button');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue