JPVideoPlayer icon indicating copy to clipboard operation
JPVideoPlayer copied to clipboard

Not support MIMEType: application/octet-stream

Open LiakemrQ opened this issue 5 years ago • 4 comments

稍微短一点的视频无法播放报这个错怎么办?

LiakemrQ avatar Jun 13 '19 03:06 LiakemrQ

Is there any solution on it? I am having same issue

yo113 avatar Aug 03 '19 05:08 yo113

yeah I solution on

发自我的iPhone

------------------ Original ------------------ From: yo113 [email protected] Date: Sat,Aug 3,2019 1:57 PM To: newyjp/JPVideoPlayer [email protected] Cc: LiakemrQ [email protected], Author [email protected] Subject: Re: [newyjp/JPVideoPlayer] Not support MIMEType: application/octet-stream (#255)

Is there any solution on it? I am having same issue

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

LiakemrQ avatar Aug 03 '19 05:08 LiakemrQ

添加 JPVideoPlayerDownloader.registerSupportedMIMETypes(["application/oct-stream"]) 修改JPVideoPlayer.m239AVURLAsset *videoURLAsset = [AVURLAsset URLAssetWithURL:[self composeFakeVideoURL] options:nil];AVURLAsset *videoURLAsset = [AVURLAsset URLAssetWithURL:url options:nil]; 这样application/octet-streamType的url就能正常播放了。

wwdc14yh avatar Oct 25 '19 17:10 wwdc14yh

添加 JPVideoPlayerDownloader.registerSupportedMIMETypes(["application/oct-stream"]) 修改JPVideoPlayer.m239AVURLAsset *videoURLAsset = [AVURLAsset URLAssetWithURL:[self composeFakeVideoURL] options:nil];AVURLAsset *videoURLAsset = [AVURLAsset URLAssetWithURL:url options:nil]; 这样application/octet-streamType的url就能正常播放了。

请问JPVideoPlayerDownloader.registerSupportedMIMETypes(["application/oct-stream"])` 在哪里添加

zhouxiaowei avatar Nov 07 '19 07:11 zhouxiaowei