Disable video player based on subscription

This commit is contained in:
2021-10-18 16:08:45 +02:00
parent c0a45ed818
commit fc8a9fe9d1
7 changed files with 99 additions and 69 deletions

View File

@@ -35,7 +35,7 @@ TextViewer.prototype.getCode = function () {
// Load prettyprint script
this.prettyprint = document.createElement("script")
this.prettyprint.src = "https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=desert"
this.prettyprint.src = `{{noescape "https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=desert"}}`
this.container.appendChild(this.prettyprint)
}).catch(err => {
this.pre.innerText = "Error loading file: " + err