diff --git a/internal/js/view_support.js b/internal/js/view_support.js index 2969116..146f379 100644 --- a/internal/js/view_support.js +++ b/internal/js/view_support.js @@ -155,7 +155,6 @@ function ViewImageOrVideo() { im.src='../' + objs[current].url $('#video_div').hide() - //$('#vid-cap').hide() if( $('#fname_toggle').prop('checked' ) ) $('#img-cap').show() $('#fname_i').html(objs[current].name) @@ -165,14 +164,13 @@ function ViewImageOrVideo() } if( objs[current].type == 'Video' ) { - $('#video').prop('src', '../' + objs[current].url ) $('#figure').hide() + $('#video').prop('src', '../' + objs[current].url ) $('#fname_v').html(objs[current].name) if( $('#fname_toggle').prop('checked' ) ) $('#img-cap').hide() - $('#video_div').show() - //$('#vid-cap').show() ResizeVideo() + $('#video_div').show() if( fullscreen ) $('#video').get(0).requestFullscreen() }