Formatting
This commit is contained in:
parent
889712761a
commit
5d38497f07
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
||||
// ==========================================================================
|
||||
// Gulp build script
|
||||
// ==========================================================================
|
||||
/*global require, __dirname,Buffer*/
|
||||
/*jshint -W079 */
|
||||
|
||||
/* global require, __dirname,Buffer */
|
||||
/* jshint -W079 */
|
||||
/* beautify ignore:start */
|
||||
var fs = require("fs"),
|
||||
path = require("path"),
|
||||
gulp = require("gulp"),
|
||||
@ -335,3 +335,5 @@ gulp.task("open", function () {
|
||||
gulp.task("publish", function () {
|
||||
run(tasks.js, tasks.less, tasks.sprite, "cdn", "demo");
|
||||
});
|
||||
|
||||
/* beautify ignore:end */
|
||||
|
@ -220,7 +220,27 @@
|
||||
loop: null
|
||||
},
|
||||
// Events to watch on HTML5 media elements
|
||||
events: ['ready', 'ended', 'progress', 'stalled', 'playing', 'waiting', 'canplay', 'canplaythrough', 'loadstart', 'loadeddata', 'loadedmetadata', 'timeupdate', 'volumechange', 'play', 'pause', 'error', 'seeking', 'seeked', 'emptied'],
|
||||
events: [
|
||||
'ready',
|
||||
'ended',
|
||||
'progress',
|
||||
'stalled',
|
||||
'playing',
|
||||
'waiting',
|
||||
'canplay',
|
||||
'canplaythrough',
|
||||
'loadstart',
|
||||
'loadeddata',
|
||||
'loadedmetadata',
|
||||
'timeupdate',
|
||||
'volumechange',
|
||||
'play',
|
||||
'pause',
|
||||
'error',
|
||||
'seeking',
|
||||
'seeked',
|
||||
'emptied'
|
||||
],
|
||||
// Logging
|
||||
logPrefix: ''
|
||||
};
|
||||
@ -716,8 +736,7 @@
|
||||
}
|
||||
|
||||
// Fullscreen API
|
||||
var fullscreen;
|
||||
(function() {
|
||||
var fullscreen = (function() {
|
||||
// Determine the prefix
|
||||
var prefix = (function() {
|
||||
var value = false;
|
||||
@ -741,7 +760,7 @@
|
||||
return value;
|
||||
})();
|
||||
|
||||
fullscreen = {
|
||||
return {
|
||||
prefix: prefix,
|
||||
// Yet again Microsoft awesomeness,
|
||||
// Sometimes the prefix is 'ms', sometimes 'MS' to keep you on your toes
|
||||
@ -3460,10 +3479,10 @@
|
||||
var display = (displayHours ? hours + ':' : '') + mins + ':' + secs;
|
||||
|
||||
// Render
|
||||
element.textContent = label;
|
||||
element.textContent = display;
|
||||
|
||||
// Return for looping
|
||||
return label;
|
||||
return display;
|
||||
}
|
||||
|
||||
// Show the duration on metadataloaded
|
||||
|
Loading…
x
Reference in New Issue
Block a user