1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00
Also prefer "0" instead of "none" because outerHTML converts the later
to "medium" (I don't know why)
This commit is contained in:
Chocobozzz 2025-06-27 11:01:18 +02:00
parent 70010fac73
commit 532020e2af
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ export function buildVideoOrPlaylistEmbed (options: {
iframe.width = responsive ? '100%' : '560'
iframe.height = responsive ? '100%' : '315'
iframe.src = embedUrl
iframe.style.border = 'none'
iframe.style.border = '0'
iframe.allow = 'fullscreen'
iframe.sandbox.add('allow-same-origin', 'allow-scripts', 'allow-popups', 'allow-forms')