fix bug with 2 captions when video caption has to be outside <video> tag
This commit is contained in:
@@ -155,6 +155,7 @@ function ViewImageOrVideo()
|
||||
{
|
||||
im.src='http://mara.ddp.net:5000/' + objs[current].url
|
||||
$('#video').hide()
|
||||
$('#vid-caption').hide()
|
||||
$('#figure').show()
|
||||
if( fullscreen )
|
||||
$('#canvas').get(0).requestFullscreen()
|
||||
@@ -164,6 +165,7 @@ function ViewImageOrVideo()
|
||||
$('#video').prop('src', 'http://mara.ddp.net:5000/' + objs[current].url )
|
||||
$('#figure').hide()
|
||||
$('#video').show()
|
||||
$('#vid-caption').show()
|
||||
ResizeVideo()
|
||||
if( fullscreen )
|
||||
$('#video').get(0).requestFullscreen()
|
||||
|
||||
Reference in New Issue
Block a user