added button download
This commit is contained in:
parent
765d3173de
commit
50ea2c3492
@ -1,3 +1,14 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const player = new Plyr(document.getElementById('player-ply'));
|
||||
const player = new Plyr(document.getElementById('player-ply'), {
|
||||
controls: [
|
||||
'play',
|
||||
'progress',
|
||||
'current-time',
|
||||
'mute',
|
||||
'volume',
|
||||
'captions',
|
||||
'settings',
|
||||
'download'
|
||||
]
|
||||
});
|
||||
});
|
||||
|
@ -190,6 +190,6 @@
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/modules/plyr/plyr.min.js"
|
||||
integrity="sha512-5LTPChkWfom9XmQ+T2/MfSTBirVqZf7g/7OM80kuLVcSg2aSzjVuivWhTWQaVA9B/V+fCtnLQuPoeXu3WoG4vA=="></script>
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/play.js"
|
||||
integrity="sha512-Ivz2ncvKXKkThbHw2a1Wi7ITYFOuqgZj7Os2VCjIcpzrK6IdCJ3n6/Y27wGb31dXzqFXZhvaxKLwaSAoyPrNkw=="></script>
|
||||
integrity="sha512-1S+/MTWPor7qA+6Gbh/mdA8TSXyoRB1RHxZaTNSkv9Hd+/pe6h+cdG1th21p5RdugkZBm39n48NA/aX9sZwOJA=="></script>
|
||||
<!-- /Plyr -->
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user