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

audio files break on iphones #17

Open
matt-Mindwell opened this issue Oct 31, 2022 · 0 comments
Open

audio files break on iphones #17

matt-Mindwell opened this issue Oct 31, 2022 · 0 comments

Comments

@matt-Mindwell
Copy link

I have 2 audio files loaded on a page and it works great for everything but apple products. I found a working solution to the issue (it's a known one that is no linked to your component) - but it only works for one of the 2 audio files.

I create them as 2 separate and distinctly named pieces - but they both get complied as <audio id="player" ...>.

The solution I found::

                        var song = document.getElementById("player");
                        song.play();
                        song.pause();

Works to play/pause the first, but I have no way of specifying the second one.

I've tried looping through a collection - that doesn't seem to work at all, just returns null values etc.

Is there a way I can specify the ids to be used when compiling the vuetify code to the <audio id="player" ...> code??

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