-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Play video from asset or raw folder #355
Comments
Play video in assets you should copy to local path first.Try by myself like thistextureview will stop on first frame and error on logcat |
I think somthing wrong with ijkplayer, ijkplayer should make function complete, should not let other people config before use. |
@YuJunKui2016 you're just repeating what's stated in the readme it doesn't work |
5.0+support assert video |
@lipangit How? I tried use url "file:///android_asset/test.mp4", but this not work. |
Play video in asset folder, see demo ActivityApiCustomMediaPlayer.java, it will show you how to custom video player |
Tried to play a video in my raw folder like this
but it doesn't work and shows this error in the logcat "Protocol not found"
I tried to follow the instructions linked on the readme bilibili/ijkplayer#1013 but it's from a dependency project and the discussion is not very clear on how it applies to this library. Either way i tried some things they mentioned but that didn't work either
All my searches on how to do this have ended up with closed issues with no clear explanation. Maybe how to do this can be added in the sample app?
Also found this comment on the dependency project "Playback of asset file is not a completed feature, for now." bilibili/ijkplayer#1303 so if it's not supported yet maybe it should be removed from the readme
The text was updated successfully, but these errors were encountered: