X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Froot-helpers%2Fvideo.ts;h=9022b908b77c995e9cd8b6d2a1c943fa715877c4;hb=9f9131f8439f4ed0a05fd62370fda7d855d45242;hp=01feddbdc2a868a51431523637f74306f85543fc;hpb=47d883de2efbc2e8b5f6f94ae18c15224cbe982b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/root-helpers/video.ts b/client/src/root-helpers/video.ts index 01feddbdc..9022b908b 100644 --- a/client/src/root-helpers/video.ts +++ b/client/src/root-helpers/video.ts @@ -21,7 +21,7 @@ function buildVideoOrPlaylistEmbed (options: { const wrapper = document.createElement('div') wrapper.style.position = 'relative' - wrapper.style['padding-top'] = '56.25%' + wrapper.style.paddingTop = '56.25%' iframe.style.position = 'absolute' iframe.style.inset = '0'