Comments (12)
Would you mind replacing the
wontfix
label withhelp wanted
?
(I think that) thewontfix
label sends a signal that you have no intention of fixing this and it works as expected, whereashelp wanted
shows you're willing to have this fixed, but don't have the resources for it yourself atm.
good point. changed. thanks
from vue-audio-visual.
Would you mind replacing the wontfix
label with help wanted
?
(I think that) the wontfix
label sends a signal that you have no intention of fixing this and it works as expected, whereas help wanted
shows you're willing to have this fixed, but don't have the resources for it yourself atm.
from vue-audio-visual.
Hello,
It also may depend on the <audio\>
element. What attributes of the audio element do you use?
Also, does it works without v-show
condition?
from vue-audio-visual.
My audio tag looks like this:
<audio
ref="player"
:src="audioSource"
:title="radio.now_playing.song.title"
crossorigin="anonymous"
></audio>
audioSource
is a streaming mp3 file, title
is a plain string with the song title.
Also, it's not working without the v-show
condition either (I removed the directive entirely).
from vue-audio-visual.
Quick note: I tried pulling the canvas contents with the toDataURL
method and it appears to be a static un-styled blue circle all the time.
from vue-audio-visual.
I can not find the way to fix it for safari. Spent whole day playing with different parameters and re-writing code trying to fix it.
I am sorry but I have to leave it like this until I find any other way to fix it or may be Apple will do something with Safari. May be someone will contribute a fix.
from vue-audio-visual.
For macOS Safari at least, the AudioContext
needs to be created on "user interaction" i.e. inside the context of a click
event. This would require some significant refactoring. Both the audio
element that gets created and the one attached via refLink
need an onclick
listener, and setAnalyser
needs to be called inside that listener, not in mount()
.
I'll play around and see if I can fix this and open a PR.
from vue-audio-visual.
@andreipopovici thank you. Your patch works great with my tests (macOS/Safari 13.1). Just merged. Will be released in ver 2.0.1
from vue-audio-visual.
After spending way too many hours, I realized why the fix in #33 was not working on mobile Safari. It's a bug that has ben acknowledged but not fixed yet: https://bugs.webkit.org/show_bug.cgi?id=203435
Nothing more to do here 🤷♂️
from vue-audio-visual.
Good, thank you @andreasvirkus
This one took me many hours too but I could not find it. I do appreciate your contribution.
I'm closing this ticket. Have a good week-end!
from vue-audio-visual.
It looks like that bug was fixed via https://bugs.webkit.org/show_bug.cgi?id=211394 in iOS 13.6 upward, but I didn't have a chance to test and see if it's fixed this particular issue. Hopefully it did!
from vue-audio-visual.
Good! hopefully it does.
Thank you
from vue-audio-visual.
Related Issues (20)
- MediaStream is not defined HOT 1
- Visualizer not visualizing audio with a url HOT 7
- How can i import vue-audio-visual to my project HOT 2
- Switch the local audio file and play it. Do you need to convert the file to blob? HOT 1
- AVBars Component's audio address, unable to use local audio files dynamically HOT 1
- Error with command: npm run dev HOT 1
- AVBars bar coloring depending on bars x axis position
- AVWave wrong slider positioning on short audio HOT 7
- AVWave playtime fixed position HOT 2
- waveform overwrites another when 2 wavforms are on screen. HOT 9
- [Vue warn]: Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function. HOT 1
- How to set width of av-line width to 100%? HOT 2
- Hide controls? HOT 2
- Events playing, paused , how to emit them? HOT 2
- Extraneous non-props attributes (ref-link) HOT 1
- When AVWaveform's src uses ref variables, the waveform cannot be displayed normally HOT 5
- Help me!!! Why can firefox display normally but chrome cannot? HOT 6
- For vue 2, after pausing and replaying, the music plays slower in a low key. HOT 9
- Failed to decode audio array buffer: DOMException: Failed to execute 'decodeAudioData' on 'BaseAudioContext': Unable to decode audio data HOT 2
- CDN ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-audio-visual.