jump to location

This commit is contained in:
j 2011-02-25 20:59:01 +01:00
parent 5b222ef393
commit 6fde4ef634

View file

@ -823,7 +823,8 @@
flipbook: function(item) { flipbook: function(item) {
var that = new Ox.Flipbook({ var that = new Ox.Flipbook({
}).bindEvent('click', function(event, data) { }).bindEvent('click', function(event, data) {
alert(data.position); UI.set('videoPosition|' + item, data.position);
URL.set(item + '/timeline');
}); });
pandora.api.getItem(item, function(result) { pandora.api.getItem(item, function(result) {
var duration = result.data.item.duration, var duration = result.data.item.duration,