mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-02-16 18:30:51 +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 } })
|
? 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.18.1/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.18.1/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.18.1/video-js.min.css';
|
||||||
@import '../../../css/includes/_variables.scss';
|
@import '../../../css/includes/_variables.scss';
|
||||||
|
|
||||||
@keyframes up-next-circle-countdown {
|
@keyframes up-next-circle-countdown {
|
||||||
|
@ -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.18.1/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.18.1/video.min.js" %}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block externalscripts %}{% endblock externalscripts %}
|
{% block externalscripts %}{% endblock externalscripts %}
|
||||||
|
Loading…
Reference in New Issue
Block a user