-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Aurora JS is buggy #281
Comments
Aurora support is marked as |
This is the exact same issue as encountered in Ampache. It is indeed a jPlayer or Aurora issue, and no error is sent to the log. |
I tracked down the issue to be here. Contrary to flash, aurora never gets "desired" when in a mixed playlist. Then, it is never used. Also, in such case, there should be an "unsupported" message which is not shown. I will try to submit a PR to fix this. EDIT: Strange thing is that with just "html" and "aurora" solutions (in this order), aurora is not desired. If I add "flash" after them in the array, aurora gets desired. |
Aurora.JS is buggy The logic behind the `.desired` attribute setter was broken. I fixed it and jPlayer should now be able to switch between Aurora, HTML and Flash backends automatically. Closes jplayer#281.
Here is the PR to fix it. |
Aurora shouldn't really be needed anymore as nearly all modern browsers support FLAC natively. |
@AshotN So will jPlayer play .flac files without Aurora? |
It should, if I recall correctly jPlayer will use your browsers native support and then Aurora was meant to polyfill. But since FLAC has been supported for years now, Aurora is essentially useless for 99% of people. I am not sure what your interest in jPlayer is. But I wouldn't recommend using it as it hasn't been touched in 3 years. |
Thanks! jPlayer still works great for us. Also I found the solution. Now you can play flac audios in jPlayer without Aurora. All most all browsers now support flac codec. But the new mimetype for flac is So changing the mimetype on this line to |
I don't know what your use case is, but I would find something maintained. |
I'm trying to use Aurora to get flac support, but I'm running into a few problems. I've got the following code:
This runs into a few problems. The bigest problem is on chrome it doesn't work most of the time. Sometimes though the flac file loads just fine and everything works as expected. On Firefox this works everytime.
another problem is I can't load in mp3's. If I try setting the media to an mp3 file, nothign will happen. If I change the solution line to
mp3 files will work but I can no longer load flac files.
Any ideas what might be wrong?
The text was updated successfully, but these errors were encountered: