partial fix for subtitles disappearing in fullscreen
This commit is contained in:
parent
1e826a8c53
commit
3dd022977d
1 changed files with 3 additions and 1 deletions
|
@ -1645,9 +1645,11 @@ Ox.VideoPlayer = function(options, self) {
|
|||
function setSubtitleText() {
|
||||
Ox.print('setSubTx', self.subtitle, self.options.find)
|
||||
self.$subtitle.html(
|
||||
self.subtitle ?
|
||||
Ox.highlight(self.subtitle, self.options.find, 'OxHighlight')
|
||||
.replace(/\n/g, '<br/>')
|
||||
.replace(/\n/g, '<br/>') : ' <br/> ' // fixme: weird fullscreen bug
|
||||
);
|
||||
Ox.print('?!?', self.$subtitle.css('bottom'), self.$subtitle.height())
|
||||
}
|
||||
|
||||
function changeVolumeBy(num) {
|
||||
|
|
Loading…
Reference in a new issue