forked from 0x2620/pandora
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'
|
||||
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
||||
: result.data.posterFrame,
|
||||
tooltip: (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
||||
tooltip: function() {
|
||||
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
||||
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
||||
pandora.site.itemViews,
|
||||
ui.videoView
|
||||
).title + ' View',
|
||||
).title + ' View';
|
||||
}
|
||||
width: ui.sidebarSize
|
||||
})
|
||||
.bindEvent({
|
||||
|
|
Loading…
Reference in a new issue