We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
VlcSimplePlayer 我在播放本地资源的携带 file:// 或者不携带 都是不能播放 ;尝试以为是本地资源的问题 然后直接用手机自带的播放器是可以播放资源的; 源码: <VlcSimplePlayer ref={(video) => { this.player = video }} autoplay={true} //url={'file://' + this.state.currentUrl} url={this.state.currentUrl} initType={2} autoAspectRatio={true} isLive={true} autoplay={true} autoReloadLive={true} hwDecoderEnabled={1} hwDecoderForced={1} style={[styles.backgroundVideo,]} /> 打印本地的资源路径: /storage/emulated/0/HANJUTV/143/143-2/out.mp4 请帮我看一下哪里有问题 我看了之前几个关的 issue 都是可以播放本地资源的 我这边也没有修改源码
The text was updated successfully, but these errors were encountered:
Just remove file:// from url
Sorry, something went wrong.
是的 我本地资源就是没有 file://的 /storage/emulated/0/HANJUTV/143/143-2/out.mp4 这个就是我使用的资源路径
No branches or pull requests
VlcSimplePlayer 我在播放本地资源的携带 file:// 或者不携带 都是不能播放 ;尝试以为是本地资源的问题 然后直接用手机自带的播放器是可以播放资源的;
源码:
<VlcSimplePlayer
ref={(video) => { this.player = video }}
autoplay={true}
//url={'file://' + this.state.currentUrl}
url={this.state.currentUrl}
initType={2}
autoAspectRatio={true}
isLive={true}
autoplay={true}
autoReloadLive={true}
hwDecoderEnabled={1}
hwDecoderForced={1}
style={[styles.backgroundVideo,]}
/>
打印本地的资源路径:
/storage/emulated/0/HANJUTV/143/143-2/out.mp4
请帮我看一下哪里有问题
我看了之前几个关的 issue 都是可以播放本地资源的 我这边也没有修改源码
The text was updated successfully, but these errors were encountered: