mirror of
https://github.com/videojs/video.js.git
synced 2025-01-06 06:50:51 +02:00
commit
ee1a7dae99
3
build.sh
3
build.sh
@ -2,6 +2,9 @@
|
|||||||
# Combines Source Files. In terminal, sh build.sh
|
# Combines Source Files. In terminal, sh build.sh
|
||||||
# It will put a new video.js file under dist/
|
# It will put a new video.js file under dist/
|
||||||
|
|
||||||
|
# Create dist directory if it doesn't already exist
|
||||||
|
mkdir -p dist
|
||||||
|
|
||||||
# FILES=../src/*
|
# FILES=../src/*
|
||||||
# for f in $FILES
|
# for f in $FILES
|
||||||
# do
|
# do
|
||||||
|
@ -88,7 +88,7 @@ _V_.Track.prototype = {
|
|||||||
// Meaning the user is scrubbing in reverse or rewinding
|
// Meaning the user is scrubbing in reverse or rewinding
|
||||||
reverse = (this.cues[this.lastCueIndex].startTime > time),
|
reverse = (this.cues[this.lastCueIndex].startTime > time),
|
||||||
// If reverse, step back 1 becase we know it's not the lastCue
|
// If reverse, step back 1 becase we know it's not the lastCue
|
||||||
i = this.lastCueIndex - (reverse) ? 1 : 0;
|
i = this.lastCueIndex - (reverse ? 1 : 0);
|
||||||
while (true) { // Loop until broken
|
while (true) { // Loop until broken
|
||||||
if (reverse) { // Looping in reverse
|
if (reverse) { // Looping in reverse
|
||||||
// Stop if no more, or this cue ends before the current time (no earlier cues should apply)
|
// Stop if no more, or this cue ends before the current time (no earlier cues should apply)
|
||||||
|
Loading…
Reference in New Issue
Block a user