-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
怎么加载本地视频资源 #32
Comments
@RainSnowSnow ijkplayer dosen't support assets on Android platform, but fijkplayer support. |
Although asset is not supported in ijkplayer by default, you can add it by add your DataSource like this. @RainSnowSnow
|
fijkplayer 的 demo 有播放 asset 文件的例子 在 pubspec.yml 中加入 assets:
- assets/butterfly.mp4 使用方式如下
scheme 是 “asset://”, 在后面path 中还有一个 “/” 。共3个“/” |
@befovy E/IJKMEDIA(22698): asset:///assets/video.mp4: Protocol not found 提示这个错误是啥意思 |
@RainSnowSnow 是用的 0.1.0 版本吗? |
@befovy 不是,用的 ^0.0.9 |
这个在 0.1.0 才支持 |
@befovy |
implementation 'com.android.support:support-annotations:28.0.0' gradle sync 跑一下试试。 另外提示怎么都是乱码? |
@befovy |
不好意思 , |
@befovy |
@befovy |
是修改 gradle.properties ,不是 gradle-wrapper.properties |
@befovy |
好的,这个是 UI 上的问题。能提供一下视频吗? 我修改一下。 |
[4faa8fb6ef849f8333372624a4016dd5.ZIP](https://github.com/befovy/fijkplayer/files/3545203/4faa8fb6ef849f8333372624a4016dd5.ZIP你看下行不行,这个修改耗时长不长的 |
是出现问题的视频么
…------------------ 原始邮件 ------------------
发件人: "befovy"<notifications@github.com>;
发送时间: 2019年8月27日(星期二) 下午4:56
收件人: "befovy/fijkplayer"<fijkplayer@noreply.github.com>;
抄送: "酱子"<1519423369@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [befovy/fijkplayer] 怎么加载本地视频资源 (#32)
好的,这个是 UI 上的问题。能提供一下视频吗? 我修改一下。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
那个压缩包用不了,能提供出现问题的视频吗 @RainSnowSnow |
请查收下邮箱,因为文件有上传格式限制,我发邮箱了 |
发到我邮箱 befovy@gmail.com 吧,谢谢 |
@请注意查收 |
@RainSnowSnow please upgrade to version 0.1.1 |
@befovy 在ios上展示的效果和安卓上一样么,因为我这边开发过程中暂时无法测试ios |
@RainSnowSnow 我测试过比较基础的内容,效果是一样的。但我无法帮你做更多的测试。 |
@befovy |
建议使用 自定义 UI ,重写一个播放器控制面板 |
@RainSnowSnow 如果还有其他问题,请另开新的 issue, 这个我就先关了 |
assets/videos/video.mp4: No such file or directory
The text was updated successfully, but these errors were encountered: