From 6b08f0dae4b05469bff92a5d809b49ae0059a1ff Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 18 Jan 2011 16:56:40 +0000 Subject: [PATCH] make video position stick when switching between player and timeline view (part 3) --- build/js/ox.ui.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index c18cd75a..38a50c24 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -11791,7 +11791,10 @@ requires width: self.options.width + 'px' }) .bind({ - ended: ended + ended: ended, + loadedmetadata: function() { + self.video.currentTime = self.options.position; + } }); $.extend(self, {