Move player def to soundtrack
This commit is contained in:
parent
136aff6efc
commit
b2ba8c008e
2 changed files with 3 additions and 8 deletions
|
@ -28,8 +28,8 @@
|
|||
</td>
|
||||
<td>{{ .album.name }}</td>
|
||||
<td>
|
||||
<audio controls class="mejs__player">
|
||||
<source src="{{ .preview_url }}" type="audio/mpeg">
|
||||
<audio controls class="mejs__player" data-plyr='{"controls": ["play", "progress"]}'>
|
||||
<source src="{{ .preview_url }}" type="audio/mpeg" />
|
||||
</audio>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -6,12 +6,7 @@ require('bootstrap');
|
|||
require('lightgallery/dist/js/lightgallery');
|
||||
require('lg-thumbnail/dist/lg-thumbnail');
|
||||
|
||||
require('plyr').setup({
|
||||
controls: [
|
||||
'play',
|
||||
'progress'
|
||||
]
|
||||
});
|
||||
require('plyr').setup();
|
||||
|
||||
|
||||
$('.image').each(function () { // setup div-image hybrids
|
||||
|
|
Loading…
Reference in a new issue