无法加载资源,插件处理的负载在iOS [英] Failed to Load Resource, Plugin Handled Load on iOS

查看:2442
本文介绍了无法加载资源,插件处理的负载在iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每一次我尝试查看我的服务器上的视频文件,我得到iOS上的这个错误在Safari,Chrome浏览器。

Every time I try to view a video file on my server I get this error on iOS in Safari, Chrome.

我使用一个blob服务器,然后Apache服务器,所以我不知道是什么问题。然而,当我只使用Apache,我得到这个错误,但后来我有视频呈现了。

I am using a blob server and then an Apache server so I am not sure what the problem is. However, when I only use Apache, I do get this error but then I have the video rendering too.

然而,当我使这个用我的服务器这是行不通的。有谁知道这是为什么?这些视频在其他设备上很好地工作,并在浏览器中如果仅仅通过Apache访问也能正常工作。

However when I render this using my server this is not working. Does anyone know why this is? The videos work fine on other devices and in browsers also works fine if accessed through Apache only.

推荐答案

要解决这个问题只是一个变通。究其原因正在那一滴服务器不流媒体服务器。 iOS设备预计影片在小块到达。因此,例如一个流服务器是能够做到这一点。然而,一个blob服务器只是手中的视频作为一个blob这不是iOS设备所期待的。有些浏览器有足够的智慧来处理这个问题,但没有其他人。

The solution to this problem was just a work around. The reason being the that blob servers aren't streaming servers. iOS devices expect the videos to arrive in small chunks. So for instance a streaming server is able to do this. However, a blob server just hands the video as a blob which is not what the iOS device expects. Some browsers are smart enough to handle this but others not.

我解决了这个的方法是通过Apache服务器的文件夹中添加的视频文件的BLOB服务器外的项目中,然后使这个而不是通过我们使用实际的BLOB服务器服务它的。我希望这有帮助。

The way I solved this was to add the video files outside of the blob server in a folder within the project and then render this through the Apache server instead of serving it via the actual blob server we were using. I hope this helps.

这篇关于无法加载资源,插件处理的负载在iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆