youtube.js: make video iframe spacing equal to image spacing

This commit is contained in:
Zankaria 2025-02-04 21:43:38 +01:00
parent 800fa6f734
commit a7f4864cd9

View file

@ -55,7 +55,7 @@ $(document).ready(function(){
var spanProxy = $("<span>[Proxy]</span>");
var makeEmbedNode = function(embedHost) {
return $('<iframe style="float:left;margin: 10px 20px" type="text/html" '+
return $('<iframe style="float:left;padding: 0 20px 0 0;margin: 0.2em 0.2em 0.8em 0.2em" type="text/html" '+
'width="360" height="270" src="//' + embedHost + '/embed/' + videoId +
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>');
}