mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 00:03:28 +01:00
files
This commit is contained in:
parent
fe418f854f
commit
44cae7552c
@ -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.18.1/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.18.1/video.min.js' },
|
||||
...(page.bodyScripts ? page.bodyScripts : []),
|
||||
];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
@use "sass:math";
|
||||
@import '../../../lib/video-js/7.20.2/video-js.min.css';
|
||||
@import '../../../lib/video-js/8.18.1/video-js.min.css';
|
||||
@import '../../../css/includes/_variables.scss';
|
||||
|
||||
@keyframes up-next-circle-countdown {
|
||||
|
@ -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.18.1/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.18.1/video.min.js" %}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% block externalscripts %}{% endblock externalscripts %}
|
||||
|
Loading…
Reference in New Issue
Block a user