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>
|
||||||
<td>{{ .album.name }}</td>
|
<td>{{ .album.name }}</td>
|
||||||
<td>
|
<td>
|
||||||
<audio controls class="mejs__player">
|
<audio controls class="mejs__player" data-plyr='{"controls": ["play", "progress"]}'>
|
||||||
<source src="{{ .preview_url }}" type="audio/mpeg">
|
<source src="{{ .preview_url }}" type="audio/mpeg" />
|
||||||
</audio>
|
</audio>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -6,12 +6,7 @@ require('bootstrap');
|
||||||
require('lightgallery/dist/js/lightgallery');
|
require('lightgallery/dist/js/lightgallery');
|
||||||
require('lg-thumbnail/dist/lg-thumbnail');
|
require('lg-thumbnail/dist/lg-thumbnail');
|
||||||
|
|
||||||
require('plyr').setup({
|
require('plyr').setup();
|
||||||
controls: [
|
|
||||||
'play',
|
|
||||||
'progress'
|
|
||||||
]
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$('.image').each(function () { // setup div-image hybrids
|
$('.image').each(function () { // setup div-image hybrids
|
||||||
|
|
Loading…
Reference in a new issue