From 130b9a084454d97ae285d2ec9046762e2c6b7123 Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Wed, 21 Feb 2024 16:10:41 +0100 Subject: [PATCH] Fix licenseUrl for demos --- .gitignore | 2 +- .prettierignore | 2 +- docusaurus.config.ts | 4 ++-- open-video-ui/external/web-ui | 2 +- theoplayer/static/theoplayer-examples/v6/basic/demo.html | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index cc5915a69fa..ab474137bea 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ # Generated files .docusaurus .cache-loader -static/theoplayer-license +static/theoplayer-license.txt # Misc .DS_Store diff --git a/.prettierignore b/.prettierignore index 51c3722cea3..a4233b97f1f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,7 +10,7 @@ # Generated files .docusaurus .cache-loader -static/theoplayer-license +static/theoplayer-license.txt # Submodules theoplayer/external/ diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 9dc8ffde232..90523d1d09f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -7,9 +7,9 @@ import { version as webUiVersion } from './open-video-ui/external/web-ui/package import path from 'path'; import fs from 'fs'; -// THEOplayer license URL: /docs/theoplayer-license +// THEOplayer license URL: /docs/theoplayer-license.txt const theoplayerLicense = process.env.THEOPLAYER_LICENSE || ''; -fs.writeFileSync(path.join(__dirname, 'static/theoplayer-license'), theoplayerLicense); +fs.writeFileSync(path.join(__dirname, 'static/theoplayer-license.txt'), theoplayerLicense); const docsConfigBase = { include: [ diff --git a/open-video-ui/external/web-ui b/open-video-ui/external/web-ui index a7cadfe80bc..21e7cdb62c2 160000 --- a/open-video-ui/external/web-ui +++ b/open-video-ui/external/web-ui @@ -1 +1 @@ -Subproject commit a7cadfe80bcf7b2bc0b2a3323d81d21f8ba0b429 +Subproject commit 21e7cdb62c27fb7cbe6ac22764ddaa67472a56d6 diff --git a/theoplayer/static/theoplayer-examples/v6/basic/demo.html b/theoplayer/static/theoplayer-examples/v6/basic/demo.html index 295f1732a55..c84f9418647 100644 --- a/theoplayer/static/theoplayer-examples/v6/basic/demo.html +++ b/theoplayer/static/theoplayer-examples/v6/basic/demo.html @@ -26,7 +26,7 @@ // to point to THEOplayer's location on your own website. libraryLocation: 'https://unpkg.com/theoplayer@6/', // Change this property to point to your THEOplayer license file: - licenseUrl: '/docs/theoplayer-license', + licenseUrl: '/docs/theoplayer-license.txt', // Alternatively, uncomment this, change its value to your THEOplayer license, and remove "licenseUrl": // license: 'your_theoplayer_license', });