forked from 0x2620/pandora
use 'videoTooltip'
This commit is contained in:
parent
af07847afa
commit
0df6dba534
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue