in play loop, return false instead of calling Ox.Break
This commit is contained in:
parent
d63113d7bd
commit
8f4e08063e
1 changed files with 2 additions and 2 deletions
|
@ -1269,7 +1269,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
&& v.out > self.options.position
|
&& v.out > self.options.position
|
||||||
) {
|
) {
|
||||||
censored = true;
|
censored = true;
|
||||||
Ox.Break();
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return censored;
|
return censored;
|
||||||
|
@ -1447,7 +1447,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
&& v.out >= self.options.position
|
&& v.out >= self.options.position
|
||||||
) {
|
) {
|
||||||
subtitle = v.text;
|
subtitle = v.text;
|
||||||
Ox.Break();
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return subtitle;
|
return subtitle;
|
||||||
|
|
Loading…
Reference in a new issue