in play loop, return false instead of calling Ox.Break

This commit is contained in:
rlx 2012-06-16 20:47:17 +00:00
parent d63113d7bd
commit 8f4e08063e

View file

@ -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;