Also fix safari for embed

pull/4387/head
Chocobozzz 2021-09-01 11:56:12 +02:00
parent ef44710bb0
commit 2a4c9669d2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,18 @@
<meta name="robots" content="noindex">
<meta property="og:platform" content="PeerTube" />
<script type="text/javascript">
// Thanks: https://mathiasbynens.be/notes/globalthis
(function() {
if (typeof globalThis === 'object') return;
Object.prototype.__defineGetter__('__magic__', function() {
return this;
});
__magic__.globalThis = __magic__
delete Object.prototype.__magic__;
}());
</script>
<!-- /!\ The following comment is used by the server to prerender some tags /!\ -->