Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F13400469
script.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Authored By
Unknown
Size
805 B
Referenced Files
None
Subscribers
None
script.js
View Options
// 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); });
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 4, 19:54 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1930935
Default Alt Text
script.js (805 B)
Attached To
Mode
R58 TurboFlop
Attached
Detach File
Event Timeline