mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Also check the lang in case insensitive
This commit is contained in:
parent
33e7f7384e
commit
2a9630258f
22658 changed files with 3562773 additions and 3562767 deletions
|
@ -1,24 +1,24 @@
|
|||
// Extend default
|
||||
$(document).ready(function () {
|
||||
setTimeout(function(){ if(typeof player == 'undefined'){player = videojs(videoJsId);}
|
||||
|
||||
var Button = videojs.getComponent('Button');
|
||||
var nextButton = videojs.extend(Button, {
|
||||
//constructor: function(player, options) {
|
||||
constructor: function () {
|
||||
Button.apply(this, arguments);
|
||||
//this.addClass('vjs-chapters-button');
|
||||
this.addClass('next-button');
|
||||
this.addClass('vjs-button-fa-size');
|
||||
this.controlText("Next");
|
||||
},
|
||||
handleClick: function () {
|
||||
document.location = autoPlayVideoURL;
|
||||
}
|
||||
});
|
||||
|
||||
// Register the new component
|
||||
videojs.registerComponent('nextButton', nextButton);
|
||||
player.getChild('controlBar').addChild('nextButton', {}, getPlayerButtonIndex('PlayToggle')+1);
|
||||
|
||||
// Extend default
|
||||
$(document).ready(function () {
|
||||
setTimeout(function(){ if(typeof player == 'undefined'){player = videojs(videoJsId);}
|
||||
|
||||
var Button = videojs.getComponent('Button');
|
||||
var nextButton = videojs.extend(Button, {
|
||||
//constructor: function(player, options) {
|
||||
constructor: function () {
|
||||
Button.apply(this, arguments);
|
||||
//this.addClass('vjs-chapters-button');
|
||||
this.addClass('next-button');
|
||||
this.addClass('vjs-button-fa-size');
|
||||
this.controlText("Next");
|
||||
},
|
||||
handleClick: function () {
|
||||
document.location = autoPlayVideoURL;
|
||||
}
|
||||
});
|
||||
|
||||
// Register the new component
|
||||
videojs.registerComponent('nextButton', nextButton);
|
||||
player.getChild('controlBar').addChild('nextButton', {}, getPlayerButtonIndex('PlayToggle')+1);
|
||||
|
||||
}, 30); });
|
Loading…
Add table
Add a link
Reference in a new issue