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

Doesn't work when audio element is created after page load #1

Open
riosant opened this issue May 28, 2022 · 1 comment
Open

Doesn't work when audio element is created after page load #1

riosant opened this issue May 28, 2022 · 1 comment

Comments

@riosant
Copy link

riosant commented May 28, 2022

I am creating audio element after page load using jquery and then appending to body. At that time it doesn't seem to work.
<audio controls class="audiplay vam" nodownload> <source src="' . $trackSource . '" type="audio/mp3" /> </audio>

@SH20RAJ
Copy link
Owner

SH20RAJ commented May 30, 2022

If you are loading <audio> after page load. Try loading the cdn also when the page and <audio> element is loaded ✌️

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

2 participants