fix video preview tooltip function
This commit is contained in:
parent
0df6dba534
commit
bee6a53546
1 changed files with 7 additions and 5 deletions
|
@ -95,11 +95,13 @@ pandora.ui.info = function() {
|
||||||
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
||||||
: result.data.posterFrame,
|
: result.data.posterFrame,
|
||||||
videoTooltip: function() {
|
videoTooltip: function() {
|
||||||
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
return (
|
||||||
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
pandora.user.ui.item
|
||||||
pandora.site.itemViews,
|
&& ['timeline', 'player', 'editor'].indexOf(pandora.user.ui.itemView) > -1
|
||||||
ui.videoView
|
) ? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
||||||
).title + ' View';
|
pandora.site.itemViews,
|
||||||
|
ui.videoView
|
||||||
|
).title + ' View';
|
||||||
},
|
},
|
||||||
width: ui.sidebarSize
|
width: ui.sidebarSize
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue