]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/utils.ts
Create webtorrent client on player load
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / utils.ts
index b7cd40aa28e9155577ed49b1f270e1f3b92a33ec..18a6b4dfa48b12d70ed61a1a1aff6b1650da0f82 100644 (file)
@@ -92,6 +92,7 @@ function buildVideoLink (time?: number) {
 
 function buildVideoEmbed (embedUrl: string) {
   return '<iframe width="560" height="315" ' +
+    'sandbox="allow-same-origin allow-scripts" ' +
     'src="' + embedUrl + '" ' +
     'frameborder="0" allowfullscreen>' +
     '</iframe>'