video.js to 8.2.0 update

This commit is contained in:
Markos Gogoulos 2023-03-14 15:42:47 +02:00
parent a3997bfb1c
commit 80a90aca7b
26 changed files with 204010 additions and 60365 deletions

View file

@ -20,11 +20,11 @@ const formatPage = (page) => {
? templates.renderPageContent({ page: { id: pageContentId, component: page.component } })
: undefined;
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 : []),
];
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 : []),
];

View file

@ -1,5 +1,5 @@
@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';
@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

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

View file

@ -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

View file

@ -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

View file

@ -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>
*/

File diff suppressed because one or more lines are too long

View file

@ -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

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
static/lib/video-js/8.2.0/video.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -39,9 +39,9 @@
{% block aftercontent %}{% endblock %}
{% 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 %}
<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 %}
{% block externalscripts %}{% endblock externalscripts %}