Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can set sound of first li after dynamically load in bar ui #247

Open
zalavadiyarimpal opened this issue Nov 25, 2019 · 0 comments
Open

Comments

@zalavadiyarimpal
Copy link

zalavadiyarimpal commented Nov 25, 2019

I have set sound list after ajax call , ajax output is assign to list then i used soundmanager.reboot() function to reset DOM and set default sound from first li .All features are working except pause after playing sound it is not paused but it is replayed after click on pause.

<div class="sm2-playlist-wrapper">
    <ul class="sm2-playlist-bd" id="monthlyPlayList"></ul>
<script> $("#monthlyPlayList").html(str); soundManager.reboot(); </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant