use 'videoTooltip'

This commit is contained in:
rolux 2013-02-11 12:03:53 +05:30
parent af07847afa
commit 0df6dba534
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ pandora.ui.info = function() {
position: !ui.item && ui.listView == 'timelines' position: !ui.item && ui.listView == 'timelines'
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0) ? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
: result.data.posterFrame, : result.data.posterFrame,
tooltip: function() { videoTooltip: function() {
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
? 'Go to Position' : 'Open in ' + Ox.getObjectById( ? 'Go to Position' : 'Open in ' + Ox.getObjectById(
pandora.site.itemViews, pandora.site.itemViews,

View file

@ -21,7 +21,7 @@ pandora.ui.videoPreview = function(data) {
position: data.position, position: data.position,
scaleToFill: true, scaleToFill: true,
timeline: '/' + data.id + '/timeline16p.jpg', timeline: '/' + data.id + '/timeline16p.jpg',
tooltip: data.tooltip, videoTooltip: data.videoTooltip,
width: data.width width: data.width
}); });
return that; return that;