mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 00:03:28 +01:00
video.js to 8.2.0 update
This commit is contained in:
parent
a3997bfb1c
commit
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 : []),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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
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
49953
static/lib/video-js/8.2.0/video.cjs.js
Normal file
49953
static/lib/video-js/8.2.0/video.cjs.js
Normal file
File diff suppressed because it is too large
Load Diff
49939
static/lib/video-js/8.2.0/video.es.js
Normal file
49939
static/lib/video-js/8.2.0/video.es.js
Normal file
File diff suppressed because it is too large
Load Diff
60497
static/lib/video-js/8.2.0/video.js
Normal file
60497
static/lib/video-js/8.2.0/video.js
Normal file
File diff suppressed because it is too large
Load Diff
40
static/lib/video-js/8.2.0/video.min.js
vendored
Normal file
40
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 New Issue
Block a user