Feat videojs update (#519)

update video.js to 7.20.2
This commit is contained in:
Markos Gogoulos
2022-09-07 12:33:11 +03:00
committed by GitHub
parent 34c1a4e33e
commit de5bd07a90
34 changed files with 143011 additions and 23889 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.7.5/video.min.js', as: 'script' },
{ rel: 'preload', href: './static/lib/video-js/7.20.2/video.min.js', as: 'script' },
...(page.headLinks ? page.headLinks : []),
];
const bodyScripts = [
{ src: './static/lib/video-js/7.7.5/video.min.js' },
{ src: './static/lib/video-js/7.20.2/video.min.js' },
...(page.bodyScripts ? page.bodyScripts : []),
];