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'
|
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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue