Also fix safari for embed
This commit is contained in:
parent
ef44710bb0
commit
2a4c9669d2
|
@ -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 /!\ -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue