[HTML] HTML5视频无法加载本地视频 [英] [HTML]HTML5 video fail to load local video

查看:613
本文介绍了[HTML] HTML5视频无法加载本地视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图播放放在我的内部网中的视频。它会给出错误并说找不到网络/文件。

I have tried to play video placed in my intranet. It will give error and say network/file not found.

它在x64上正常工作但在x86上失败。当x86 / x64上的视频都在互联网上时也能正常工作。

It works properly on x64 but fails on x86. Also works properly when video is in the internet on both x86/x64.

所以这不是媒体/代码问题。

So it is not media / code problem.

你能检查一下吗?

样本很简单。

只需创建一个视频标签,然后播放自动

just create a video tag and then play auto

< video src =" http://192.168.0.1/sample。 MP4"自动播放>< / video>

<video src="http://192.168.0.1/sample.mp4" autoplay></video>

谢谢

推荐答案

你好Thomas_Lee,

Hello Thomas_Lee,

不幸的是我无法重现这个问题。我将一个示例视频文件放在我的本地IIS中,然后在视频标签下创建,它在x64和x86中都有效。奇怪的是它在x64中工作,而在你的情况下不在x86中。

Unfortunately I am not able to reproduce the issue. I put a sample video file in my Local IIS and then created below video tag and it worked both in x64 and x86. It is strange that it worked in x64 and not in x86 in your case.

	<video src="http://10.168.172.218/small.mp4" autoplay></video>

1。在x86中,您可以在IE中手动浏览示例视频时看到视频吗?如果它可以在IE中访问,那么它也应该在应用程序中工作。

1. In the x86 are you able to see the video when you manually browse the sample video in the IE? if it is accessible in IE and then it should work in the app also.

2。您收到任何错误或警告吗?你能尝试检查防火墙设置吗?

2. Are you receiving any errors or warning? Could you try to check for firewall settings?

有问候,

Krunal Parekh

Krunal Parekh


这篇关于[HTML] HTML5视频无法加载本地视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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