-
Notifications
You must be signed in to change notification settings - Fork 22
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
Playing media files from assets #5
Comments
No it's not possible to play local files/ assets from this plugin till now. may be plugin will support in future releases. |
Please don't close issue until It is not solved |
HI @singhbhavneet Sorry, I closed this because it's not a bug but additional feature which may be added in future releases. after extending my knowledge about Thanks. |
To use the plugin as-is and load local flutter audio assets you can use the following code to make it happen: You need to import the path_provider package.
|
@Sun3 This method did not work? |
Ability to play an audio file from local storage? |
Just convert the source to a Uri before passing it to the player.
|
Please let me know is it possible to play media files from assets? if so how to do it ?
The text was updated successfully, but these errors were encountered: