1
0
Fork 0
forked from 0x2620/oxjs

move full minute check from player into panel and editor, should fix #716

This commit is contained in:
rlx 2012-03-25 21:45:39 +00:00
commit 8e6787be97
3 changed files with 12 additions and 13 deletions

View file

@ -1694,10 +1694,7 @@ Ox.VideoPlayer = function(options, self) {
}
function playing() {
var minute,
previousMinute = parseInt(self.options.position / 60);
self.options.position = self.$video.currentTime();
minute = parseInt(self.options.position / 60);
if (
(self.playInToOut && self.options.position >= self.options.out)
|| (self.options.playInToOut && self.options.position >= self.out)
@ -1721,12 +1718,6 @@ Ox.VideoPlayer = function(options, self) {
that.triggerEvent('playing', {
position: self.options.position
});
/*
temporarily disabled
minute != previousMinute && that.triggerEvent('position', {
position: minute * 60
});
*/
}
function playInToOut() {