Fix incorrect relative URLs in other JS libraries #1601

This commit is contained in:
Kijin Sung 2021-02-05 11:50:13 +09:00
parent 5c0c4a3f76
commit 9160b867aa
4 changed files with 8 additions and 8 deletions

View file

@ -674,7 +674,7 @@ function _displayMultimedia(src, width, height, options) {
html = '<img src="'+src+'" width="'+width+'" height="'+height+'" class="thumb" />';
} else {
html = '<span style="position:relative;background:black;width:' + width + 'px;height:' + height + 'px" class="thumb">';
html += '<img style="width:24px;height:24px;position:absolute;left:50%;top:50%;border:0;margin:-12px 0 0 -12px;padding:0" src="./common/img/play.png" alt="" />';
html += '<img style="width:24px;height:24px;position:absolute;left:50%;top:50%;border:0;margin:-12px 0 0 -12px;padding:0" src="' + request_uri + 'common/img/play.png" alt="" />';
html += '</span>';
}
return html;