hashvalue => $id, %public,
})->next;
next if !$upload || $upload->filename !~ /\./;
if( !$public{public} &&
!C4::Context->preference('OPACBaseURL') ) {
$HTML5Media{srcblock} =~ s/opac-retrieve/opac\/opac-retrieve/;
}
$HTML5Media{extension} = ( $upload->filename =~ m/([^.]+)$/ )[0];
# check remote files
-