diff options
Diffstat (limited to 'src/client/players')
| -rw-r--r-- | src/client/players/Iframe.hx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/players/Iframe.hx b/src/client/players/Iframe.hx index 37d2fe6..f0a04c5 100644 --- a/src/client/players/Iframe.hx +++ b/src/client/players/Iframe.hx @@ -37,6 +37,9 @@ class Iframe implements IPlayer { video = null; return; } + if (video.firstChild.nodeName == "IFRAME") { + video.setAttribute("sandbox", "allow-scripts"); + } playerEl.appendChild(video); } |
