pkgs/haccvoc-stage: fix thumbnail scaling
This commit is contained in:
parent
5df82318aa
commit
cfeedf2bee
|
@ -78,7 +78,7 @@
|
|||
else {
|
||||
console.log("stream is offline!");
|
||||
document.getElementById("video-div").innerHTML =
|
||||
"<img src='{{ site.thumbnailurl }}' width="+width+" height="+height+"/>";}
|
||||
"<img src='{{ site.thumbnailurl }}' style='height: 100%'/>";}
|
||||
}
|
||||
|
||||
try {
|
||||
|
@ -87,7 +87,7 @@
|
|||
if(exception.name == 'NetworkError'){
|
||||
console.log('There was a network error. -> stream is offline');
|
||||
document.getElementById("video-div").innerHTML =
|
||||
"<img src='{{ site.thumbnailurl }}' width="+width+" height="+height+"/>";
|
||||
"<img src='{{ site.thumbnailurl }}' style='height: 100%' />";}
|
||||
}
|
||||
else {
|
||||
var options = {
|
||||
|
|
Loading…
Reference in a new issue