update url on playing event

This commit is contained in:
j 2013-07-08 12:40:51 +00:00
parent 55bf6344ac
commit 78ca48f85a
3 changed files with 18 additions and 0 deletions

View file

@ -176,6 +176,12 @@ pandora.ui.editor = function(data) {
muted: function(data) {
pandora.UI.set('videoMuted', data.muted);
},
playing: function(data) {
pandora.UI.set(
'videoPoints.' + ui.item + '.position',
data.position
);
},
points: function(data) {
pandora.UI.set('videoPoints.' + ui.item, {
annotation: ui.videoPoints[ui.item].annotation,

View file

@ -84,6 +84,12 @@ pandora.ui.player = function(data) {
muted: function(data) {
pandora.UI.set('videoMuted', data.muted);
},
playing: function(data) {
pandora.UI.set(
'videoPoints.' + ui.item + '.position',
data.position
);
},
position: function(data) {
pandora.UI.set(
'videoPoints.' + ui.item + '.position',

View file

@ -75,6 +75,12 @@ pandora.ui.timeline = function(data) {
muted: function(data) {
pandora.UI.set('videoMuted', data.muted);
},
playing: function(data) {
pandora.UI.set(
'videoPoints.' + pandora.user.ui.item + '.position',
data.position
);
},
position: function(data) {
pandora.UI.set(
'videoPoints.' + pandora.user.ui.item + '.position',