forked from 0x2620/oxjs
move full minute check from player into panel and editor, should fix #716
This commit is contained in:
parent
17aca54e7a
commit
8e6787be97
3 changed files with 12 additions and 13 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue