use video preview tooltip function
This commit is contained in:
parent
5224d80370
commit
7914a1b558
1 changed files with 7 additions and 5 deletions
|
@ -94,11 +94,13 @@ 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: (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
tooltip: function() {
|
||||||
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
||||||
pandora.site.itemViews,
|
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
||||||
ui.videoView
|
pandora.site.itemViews,
|
||||||
).title + ' View',
|
ui.videoView
|
||||||
|
).title + ' View';
|
||||||
|
}
|
||||||
width: ui.sidebarSize
|
width: ui.sidebarSize
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
Loading…
Reference in a new issue