You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
1.0 KiB

<%
let aplayer = theme.plugins.aplayer;
%>
<% if (theme.plugins.aplayer.enable == true) { %>
<% if (post && post.music) { %>
<meting-js
mini='true'
autoplay='<%- post.music.autoplay || aplayer.autoplay %>'
volume='<%- post.music.volume || aplayer.volume %>'
loop='<%- post.music.loop || aplayer.loop %>'
order='<%- post.music.order || aplayer.order %>'
server='<%- post.music.server || aplayer.server %>'
type='<%- post.music.type || aplayer.type %>'
id='<%- post.music.id || aplayer.id %>'>
</meting-js>
<% } else { %>
<meting-js
theme='<%- aplayer.theme %>'
autoplay='<%- aplayer.autoplay %>'
volume='<%- aplayer.volume %>'
loop='<%- aplayer.loop %>'
order='<%- aplayer.order %>'
fixed='<%- aplayer.fixed %>'
list-max-height='<%- aplayer.list_max_height %>'
server='<%- aplayer.server %>'
type='<%- aplayer.type %>'
id='<%- aplayer.id %>'
list-folded='<%- aplayer.list_folded %>'>
</meting-js>
<% } %>
<% } %>