aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/utils.ts')
-rw-r--r--client/src/assets/player/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index b7cd40aa2..18a6b4dfa 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -92,6 +92,7 @@ function buildVideoLink (time?: number) {
92 92
93function buildVideoEmbed (embedUrl: string) { 93function buildVideoEmbed (embedUrl: string) {
94 return '<iframe width="560" height="315" ' + 94 return '<iframe width="560" height="315" ' +
95 'sandbox="allow-same-origin allow-scripts" ' +
95 'src="' + embedUrl + '" ' + 96 'src="' + embedUrl + '" ' +
96 'frameborder="0" allowfullscreen>' + 97 'frameborder="0" allowfullscreen>' +
97 '</iframe>' 98 '</iframe>'