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'
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
: result.data.posterFrame,
tooltip: function() {
videoTooltip: function() {
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
pandora.site.itemViews,

View file

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