Formatting
This commit is contained in:
parent
889712761a
commit
808a3af3cf
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -1780,8 +1780,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get URL of caption file if exists
|
// Get URL of caption file if exists
|
||||||
var captionSources = [],
|
var captionSources = [];
|
||||||
captionSrc = '';
|
var captionSrc = '';
|
||||||
|
|
||||||
player.elements.media.childNodes.forEach(function(child) {
|
player.elements.media.childNodes.forEach(function(child) {
|
||||||
if (child.nodeName.toLowerCase() === 'track') {
|
if (child.nodeName.toLowerCase() === 'track') {
|
||||||
@ -3457,7 +3457,7 @@
|
|||||||
mins = ('0' + mins).slice(-2);
|
mins = ('0' + mins).slice(-2);
|
||||||
|
|
||||||
// Generate display
|
// Generate display
|
||||||
var display = (displayHours ? hours + ':' : '') + mins + ':' + secs;
|
var label = (displayHours ? hours + ':' : '') + mins + ':' + secs;
|
||||||
|
|
||||||
// Render
|
// Render
|
||||||
element.textContent = label;
|
element.textContent = label;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user