mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Next Button and seek button plugin
https://github.com/DanielnetoDotCom/YouPHPTube/issues/359
This commit is contained in:
parent
0ae73ee97d
commit
af4fa60ac1
12 changed files with 645 additions and 5 deletions
|
@ -256,4 +256,14 @@ function addView(videos_id){
|
|||
console.log(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function getPlayerButtonIndex(name){
|
||||
var children = player.getChild('controlBar').children();
|
||||
for(i=0;i<children.length;i++){
|
||||
if(children[0].name_ === name){
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return children.length;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue