ionic-audio
ionic-audio copied to clipboard
Reloading Audio
Hey, I'm running into an issue occasionally after playing a few songs in a row. The issue comes about when stopping/playing a few different songs. All of a sudden I get a 403 forbidden error from SoundCloud and I can only play the first second of the song.
Is there anyway to reinitialize a song after it was already loaded? I'm thinking this might be able to resolve my issue where only the first second of the song is played.
I'd also like to be able to only autoload the first few tracks instead of 100+ at a time. Any ideas?
Hi, I'm not the repository owner but I'm trying to help out as I need to use this package too so I'm doing my best to iron out the remaining issues. I've started to check out the opened issues. There are lots of doubles without any examples whatsoever. I'd like to do some clean up, so first I need to make sure the opened issues are legitimate.
Please make sure to follow these simple guidelines in the future:
-
Use the GitHub issue search — check if the issue has already been reported. Check if the issue has been fixed.
-
If none is found, create a new issue by describing your problem, providing example of the boggus code and also make sure to write it with proper syntax and syntax. Re-read your issue twice or more to make sure it will makes sense to the repository owner. He might not even reply if he doesn't understand what's the problem.
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and OS experience the problem? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
Example:
Short and descriptive example bug report title
A summary of the issue and the browser/OS environment in which it occurs. If suitable, include the steps required to reproduce the bug.
This is the first step This is the second step Further steps, etc.
- a link to the reduced test case Any other information you want to share that is relevant to the issue being reported. This might include the lines of code that you have identified as causing the bug, and potential solutions (and your opinions on their merits).
Once a proper issue description is provided, we will be way more prepared to help you out. Thanks a lot and have a nice day.
@TimeTravelersHackedMe I just tested playing one song over and over again. There seems to be no need to reinitialize the song after loading it. On the other hand, there is a way to tell the plugin not to preload the audio by setting the preload
property.
this.myTracks = [{
src: 'https://archive.org/download/JM2013-10-05.flac16/V0/jm2013-10-05-t12-MP3-V0.mp3',
artist: 'John Mayer',
title: 'Why Georgia',
art: 'assets/img/johnmayer.jpg',
preload: 'metadata' // tell the plugin to preload metadata such as duration for this track, set to 'none' to turn off
}
...
]
I have done the same whatever step as per (ionic-audio)documentation for ionic 3. I have an issue, track play properly for few second after that track goes few second's back and keep on loop for fix duration of Seconds.
#132
Hey there!
I just uploaded version 3.2.0
with some new features and examples such as basic playlist management. It would be great to get some feedback. Hopefully this one solves some of the issues you reported.
Here's the link to the demo of the new version with playlist management:
https://arielfaur.github.io/ionic-audio-demo/
Awesome I'll check it out
On Jul 24, 2017 11:57 AM, "arielfaur" [email protected] wrote:
Hey there! I just uploaded version 3.2.0 with some new features and examples such as basic playlist management. It would be great to get some feedback. Hopefully this one solves some of the issues you reported. Here's the link to the demo of the new version with playlist management: https://arielfaur.github.io/ionic-audio-demo/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arielfaur/ionic-audio/issues/125#issuecomment-317468715, or mute the thread https://github.com/notifications/unsubscribe-auth/AFaOlmgNXxlZaC4t6-079Vokecb7ivu5ks5sRL7pgaJpZM4Npg9o .
Does this support Angular 4?
On Jul 24, 2017 12:10 PM, "Brian Zalewski" [email protected] wrote:
Awesome I'll check it out
On Jul 24, 2017 11:57 AM, "arielfaur" [email protected] wrote:
Hey there! I just uploaded version 3.2.0 with some new features and examples such as basic playlist management. It would be great to get some feedback. Hopefully this one solves some of the issues you reported. Here's the link to the demo of the new version with playlist management: https://arielfaur.github.io/ionic-audio-demo/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arielfaur/ionic-audio/issues/125#issuecomment-317468715, or mute the thread https://github.com/notifications/unsubscribe-auth/AFaOlmgNXxlZaC4t6-079Vokecb7ivu5ks5sRL7pgaJpZM4Npg9o .
@TimeTravelersHackedMe Of course 😄