no double title
This commit is contained in:
parent
a1cca04a53
commit
c242818138
1 changed files with 5 additions and 2 deletions
|
|
@ -101,11 +101,11 @@ pandora.ui.previewPlayer = function() {
|
||||||
],
|
],
|
||||||
controlsTooltips: {
|
controlsTooltips: {
|
||||||
close: Ox._('Close'),
|
close: Ox._('Close'),
|
||||||
open: Ox._('Open {0}', [pandora.site.itemName.singular])
|
open: Ox._('Open {0}', [video.title])
|
||||||
},
|
},
|
||||||
controlsTop: [
|
controlsTop: [
|
||||||
Ox.Fullscreen.available ? 'fullscreen' : 'space16',
|
Ox.Fullscreen.available ? 'fullscreen' : 'space16',
|
||||||
'title',
|
'space',
|
||||||
'open'
|
'open'
|
||||||
],
|
],
|
||||||
duration: video.duration,
|
duration: video.duration,
|
||||||
|
|
@ -142,6 +142,9 @@ pandora.ui.previewPlayer = function() {
|
||||||
fullscreen: function(data) {
|
fullscreen: function(data) {
|
||||||
Ox.Fullscreen.toggle();
|
Ox.Fullscreen.toggle();
|
||||||
},
|
},
|
||||||
|
close: function() {
|
||||||
|
that.close();
|
||||||
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
$player.options({paused: true});
|
$player.options({paused: true});
|
||||||
var url = document.location.protocol + '//'
|
var url = document.location.protocol + '//'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue