diff --git a/internal/js/view_support.js b/internal/js/view_support.js index 255dd75..c51b6ee 100644 --- a/internal/js/view_support.js +++ b/internal/js/view_support.js @@ -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()