fixed BUG-54/55, viewer now works in PROD, current_file being set in run_ai_on job, added "new" bug-53 re video fname not being set properly when next/prev in viewer

This commit is contained in:
2021-09-14 17:56:06 +10:00
parent 14950e2f02
commit 301b3d220b
5 changed files with 10 additions and 19 deletions

View File

@@ -153,7 +153,7 @@ function ViewImageOrVideo()
{
if( objs[current].type == 'Image' )
{
im.src='http://mara.ddp.net:5000/' + objs[current].url
im.src='../' + objs[current].url
$('#video').hide()
$('#vid-caption').hide()
$('#figure').show()
@@ -162,7 +162,7 @@ function ViewImageOrVideo()
}
if( objs[current].type == 'Video' )
{
$('#video').prop('src', 'http://mara.ddp.net:5000/' + objs[current].url )
$('#video').prop('src', '../' + objs[current].url )
$('#figure').hide()
$('#video').show()
$('#vid-caption').show()