We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently mojs-player creates an element in the top of body that looks like this:
<div id="icons"> <svg ...> <path id="play-icon-shape" d="..."> ... </svg> </div>
This is for using svg elements as icons in the player controller.
Problem When using mulitple instances of mojs-player on the same page, we get dublicates of these elements.
Solution Should be easy to check if the element already excist in the dom before creating it again.
The text was updated successfully, but these errors were encountered:
Nice catch! I already noticed this behavior when I use the player last time 😉
Sorry, something went wrong.
No branches or pull requests
Currently mojs-player creates an element in the top of body that looks like this:
This is for using svg elements as icons in the player controller.
Problem
When using mulitple instances of mojs-player on the same page, we get dublicates of these elements.
Solution
Should be easy to check if the element already excist in the dom before creating it again.
The text was updated successfully, but these errors were encountered: