update url on playing event
This commit is contained in:
parent
55bf6344ac
commit
78ca48f85a
3 changed files with 18 additions and 0 deletions
|
@ -176,6 +176,12 @@ pandora.ui.editor = function(data) {
|
||||||
muted: function(data) {
|
muted: function(data) {
|
||||||
pandora.UI.set('videoMuted', data.muted);
|
pandora.UI.set('videoMuted', data.muted);
|
||||||
},
|
},
|
||||||
|
playing: function(data) {
|
||||||
|
pandora.UI.set(
|
||||||
|
'videoPoints.' + ui.item + '.position',
|
||||||
|
data.position
|
||||||
|
);
|
||||||
|
},
|
||||||
points: function(data) {
|
points: function(data) {
|
||||||
pandora.UI.set('videoPoints.' + ui.item, {
|
pandora.UI.set('videoPoints.' + ui.item, {
|
||||||
annotation: ui.videoPoints[ui.item].annotation,
|
annotation: ui.videoPoints[ui.item].annotation,
|
||||||
|
|
|
@ -84,6 +84,12 @@ pandora.ui.player = function(data) {
|
||||||
muted: function(data) {
|
muted: function(data) {
|
||||||
pandora.UI.set('videoMuted', data.muted);
|
pandora.UI.set('videoMuted', data.muted);
|
||||||
},
|
},
|
||||||
|
playing: function(data) {
|
||||||
|
pandora.UI.set(
|
||||||
|
'videoPoints.' + ui.item + '.position',
|
||||||
|
data.position
|
||||||
|
);
|
||||||
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
pandora.UI.set(
|
pandora.UI.set(
|
||||||
'videoPoints.' + ui.item + '.position',
|
'videoPoints.' + ui.item + '.position',
|
||||||
|
|
|
@ -75,6 +75,12 @@ pandora.ui.timeline = function(data) {
|
||||||
muted: function(data) {
|
muted: function(data) {
|
||||||
pandora.UI.set('videoMuted', data.muted);
|
pandora.UI.set('videoMuted', data.muted);
|
||||||
},
|
},
|
||||||
|
playing: function(data) {
|
||||||
|
pandora.UI.set(
|
||||||
|
'videoPoints.' + pandora.user.ui.item + '.position',
|
||||||
|
data.position
|
||||||
|
);
|
||||||
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
pandora.UI.set(
|
pandora.UI.set(
|
||||||
'videoPoints.' + pandora.user.ui.item + '.position',
|
'videoPoints.' + pandora.user.ui.item + '.position',
|
||||||
|
|
Loading…
Reference in a new issue