gpt4 book ai didi

Videos saved on Firebase storage don't work on phone's browser(保存在Firebase存储中的视频在手机浏览器上不起作用)

转载 作者:bug小助手 更新时间:2023-10-22 14:29:18 26 4
gpt4 key购买 nike



I am storing my videos on Firebase Storage. The videos work perfectly fine in the browser when I use a laptop or desktop computer. However, they do not function properly when accessed through the browser on a mobile phone.
Here is my code:
enter image description here

我正在Firebase Storage上存储我的视频。当我使用笔记本电脑或台式电脑时,这些视频在浏览器中运行得非常好。然而,当通过手机上的浏览器访问时,它们无法正常工作。这是我的代码:在此处输入图像描述


Initially, I thought the issue might be due to the video tag I used in the project. However, when I checked directly using the URL of the video located in the Firebase console, the result I received was a black screen. The video's duration was displayed accurately in seconds, but the visuals did not play.
enter image description here

起初,我认为这个问题可能是由于我在项目中使用的视频标签。然而,当我直接使用Firebase控制台中视频的URL进行检查时,我收到的结果是黑屏。视频的持续时间以秒为单位精确显示,但视觉效果没有播放。在此处输入图像描述


What is the cause of this issue? Please assist me.

这个问题的原因是什么?请帮帮我。


更多回答

Please don't post screenshots of your code, or other textual content. Instead post the actual text, and use the formatting tools of Stack Overflow to mark it up. Also see: Why not upload images of code/errors when asking a question? and Formatting text and code

请不要发布您的代码截图或其他文本内容。相反,发布实际文本,并使用Stack Overflow的格式化工具对其进行标记。另请参阅:为什么不在提问时上传代码/错误的图像?以及格式化文本和代码

But even with that, it'll be unlikely that someone can help with the limited information provided. I recommend reading how to create a minimal, complete, verifiable example and Build a minimal, complete, reproducible example. While this requires extra effort in your part, following the guidance in there will give you a much better chance that someone can help.

但即便如此,也不太可能有人能在提供的有限信息中提供帮助。我建议阅读如何创建一个最小的、完整的、可验证的示例,以及构建一个最小、完整、可复制的示例。虽然这需要你付出额外的努力,但遵循那里的指导会给你一个更好的机会,让别人来帮助你。

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

请澄清您的具体问题或提供更多详细信息,以突出您的需求。正如目前所写的,很难准确说出你在问什么。

优秀答案推荐

I had the same problem. You can try to decrease the resolution and the frame rate of your videos. 1920 px by 1080 px and 30 frames per second solved the problem for me.

我也有同样的问题。您可以尝试降低视频的分辨率和帧速率。1920像素乘1080像素和每秒30帧为我解决了这个问题。


更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com