]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/utils.ts
Merge branch 'release/4.0.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / utils.ts
index cbca1065f9131cbdf8d738dcf5d9001b6cf45ecc..18380d9501033ee03baa243916f26e4e3890287d 100644 (file)
@@ -46,6 +46,8 @@ function buildVideoOrPlaylistEmbed (embedUrl: string, embedTitle: string) {
   const iframe = document.createElement('iframe')
 
   iframe.title = embedTitle
+  iframe.width = '560'
+  iframe.height = '315'
   iframe.src = embedUrl
   iframe.frameBorder = '0'
   iframe.allowFullscreen = true