moved mermaid feature to js bundle
This commit is contained in:
parent
28fbd7d906
commit
55c400075c
7 changed files with 16 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
import Plyr from 'plyr';
|
||||
import { videoplayer } from '@params';
|
||||
import * as params from '@params';
|
||||
|
||||
const { plyr: options } = videoplayer;
|
||||
const options = params.videoplayer?.plyr;
|
||||
window.addEventListener('DOMContentLoaded', () => Plyr.setup('.js-player', options));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue