Skip to content

Commit

Permalink
fix: aplayer audio read error
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon committed Jan 19, 2025
1 parent 6807d47 commit c83aca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/afterFooter.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
<script>
const ap = new APlayer({
container: document.getElementById('aplayer'),
audio: JSON.parse({{ $params.player.aplayer.audio | jsonify }}) || [],
audio: JSON.parse({{ $params.player.aplayer.options.audio | jsonify }}) || [],
fixed: {{ $params.player.aplayer.options.fixed }} || false,
autoplay: {{ $params.player.aplayer.options.autoplay }} || false,
loop: '{{ $params.player.aplayer.options.loop }}' || 'all',
Expand Down

0 comments on commit c83aca4

Please sign in to comment.