mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-18 01:22:31 -05:00
Video.js fixes and improvements after major upgrade (#1413)
This commit is contained in:
committed by
GitHub
parent
a5e6e7b9ca
commit
2a0cb977f2
@@ -7,6 +7,7 @@ export function init(settings) {
|
||||
api: '',
|
||||
title: '',
|
||||
useRoundedCorners: true,
|
||||
version: '1.0.0',
|
||||
};
|
||||
|
||||
if (void 0 !== settings) {
|
||||
@@ -29,6 +30,10 @@ export function init(settings) {
|
||||
if ('boolean' === typeof settings.useRoundedCorners) {
|
||||
SITE.useRoundedCorners = settings.useRoundedCorners;
|
||||
}
|
||||
|
||||
if ('string' === typeof settings.version) {
|
||||
SITE.version = settings.version.trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user