Compare commits
2 commits
main
...
feat-updat
Author | SHA1 | Date | |
---|---|---|---|
94dd2d4af9 | |||
80a90aca7b |
|
@ -20,11 +20,11 @@ const formatPage = (page) => {
|
||||||
? templates.renderPageContent({ page: { id: pageContentId, component: page.component } })
|
? templates.renderPageContent({ page: { id: pageContentId, component: page.component } })
|
||||||
: undefined;
|
: undefined;
|
||||||
const headLinks = [
|
const headLinks = [
|
||||||
{ rel: 'preload', href: './static/lib/video-js/7.20.2/video.min.js', as: 'script' },
|
{ rel: 'preload', href: './static/lib/video-js/8.2.0/video.min.js', as: 'script' },
|
||||||
...(page.headLinks ? page.headLinks : []),
|
...(page.headLinks ? page.headLinks : []),
|
||||||
];
|
];
|
||||||
const bodyScripts = [
|
const bodyScripts = [
|
||||||
{ src: './static/lib/video-js/7.20.2/video.min.js' },
|
{ src: './static/lib/video-js/8.2.0/video.min.js' },
|
||||||
...(page.bodyScripts ? page.bodyScripts : []),
|
...(page.bodyScripts ? page.bodyScripts : []),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
6
frontend/package-lock.json
generated
6
frontend/package-lock.json
generated
|
@ -2579,9 +2579,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001239",
|
"version": "1.0.30001466",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001239.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001466.tgz",
|
||||||
"integrity": "sha512-cyBkXJDMeI4wthy8xJ2FvDU6+0dtcZSJW3voUF8+e9f1bBeuvyZfc3PNbkOETyhbR+dGCPzn9E7MA3iwzusOhQ==",
|
"integrity": "sha512-ewtFBSfWjEmxUgNBSZItFSmVtvk9zkwkl1OfRZlKA8slltRN+/C/tuGVrF9styXkN36Yu3+SeJ1qkXxDEyNZ5w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"caseless": {
|
"caseless": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@use "sass:math";
|
@use "sass:math";
|
||||||
@import '../../../lib/video-js/7.20.2/video-js.min.css';
|
@import '../../../lib/video-js/8.2.0/video-js.min.css';
|
||||||
@import '../../../css/includes/_variables.scss';
|
@import '../../../css/includes/_variables.scss';
|
||||||
|
|
||||||
@keyframes up-next-circle-countdown {
|
@keyframes up-next-circle-countdown {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
frontend/src/static/lib/video-js/8.2.0/video-js.min.css
vendored
Normal file
1
frontend/src/static/lib/video-js/8.2.0/video-js.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
40
frontend/src/static/lib/video-js/8.2.0/video.min.js
vendored
Normal file
40
frontend/src/static/lib/video-js/8.2.0/video.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/lib/video-js/7.20.2/video-js.min.css
vendored
1
static/lib/video-js/7.20.2/video-js.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,17 +0,0 @@
|
||||||
/*! @name @videojs/http-streaming @version 2.14.2 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name aes-decrypter @version 3.1.3 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Video.js 7.20.2 <http://videojs.com/>
|
|
||||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
||||||
*
|
|
||||||
* Includes vtt.js <https://github.com/mozilla/vtt.js>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
|
|
||||||
*/
|
|
File diff suppressed because one or more lines are too long
|
@ -1,17 +0,0 @@
|
||||||
/*! @name @videojs/http-streaming @version 2.14.2 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name aes-decrypter @version 3.1.3 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Video.js 7.20.2 <http://videojs.com/>
|
|
||||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
||||||
*
|
|
||||||
* Includes vtt.js <https://github.com/mozilla/vtt.js>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
|
|
||||||
*/
|
|
File diff suppressed because one or more lines are too long
|
@ -1,29 +0,0 @@
|
||||||
/*!
|
|
||||||
* Programatically add the following
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! @name aes-decrypter @version 3.1.3 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name m3u8-parser @version 4.7.1 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
||||||
* Copyright (c) 2014 David Björklund
|
|
||||||
* Available under the MIT license
|
|
||||||
* <https://github.com/kesla/parse-headers/blob/master/LICENCE>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Video.js 7.20.2 <http://videojs.com/>
|
|
||||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
||||||
*
|
|
||||||
* Includes vtt.js <https://github.com/mozilla/vtt.js>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
|
|
||||||
*/
|
|
2
static/lib/video-js/7.20.2/video.min.js
vendored
2
static/lib/video-js/7.20.2/video.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,25 +0,0 @@
|
||||||
/*! @name aes-decrypter @version 3.1.3 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name m3u8-parser @version 4.7.1 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
||||||
* Copyright (c) 2014 David Björklund
|
|
||||||
* Available under the MIT license
|
|
||||||
* <https://github.com/kesla/parse-headers/blob/master/LICENCE>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license
|
|
||||||
* Video.js 7.20.2 <http://videojs.com/>
|
|
||||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
||||||
*
|
|
||||||
* Includes vtt.js <https://github.com/mozilla/vtt.js>
|
|
||||||
* Available under Apache License Version 2.0
|
|
||||||
* <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
|
|
||||||
*/
|
|
File diff suppressed because one or more lines are too long
1
static/lib/video-js/8.2.0/video-js.min.css
vendored
Normal file
1
static/lib/video-js/8.2.0/video-js.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
static/lib/video-js/8.2.0/video.cjs.js
Normal file
2
static/lib/video-js/8.2.0/video.cjs.js
Normal file
File diff suppressed because one or more lines are too long
2
static/lib/video-js/8.2.0/video.es.js
Normal file
2
static/lib/video-js/8.2.0/video.es.js
Normal file
File diff suppressed because one or more lines are too long
2
static/lib/video-js/8.2.0/video.js
Normal file
2
static/lib/video-js/8.2.0/video.js
Normal file
File diff suppressed because one or more lines are too long
2
static/lib/video-js/8.2.0/video.min.js
vendored
Normal file
2
static/lib/video-js/8.2.0/video.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -39,9 +39,9 @@
|
||||||
{% block aftercontent %}{% endblock %}
|
{% block aftercontent %}{% endblock %}
|
||||||
|
|
||||||
{% if LOAD_FROM_CDN %}
|
{% if LOAD_FROM_CDN %}
|
||||||
<script src="https://vjs.zencdn.net/7.20.2/video.min.js"></script>
|
<script src="https://vjs.zencdn.net/8.2.0/video.min.js"></script>
|
||||||
{% else %}
|
{% else %}
|
||||||
<script src="{% static "lib/video-js/7.20.2/video.min.js" %}"></script>
|
<script src="{% static "lib/video-js/8.2.0/video.min.js" %}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block externalscripts %}{% endblock externalscripts %}
|
{% block externalscripts %}{% endblock externalscripts %}
|
||||||
|
|
Loading…
Reference in a new issue