Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

useVideo.story.tsx - sampleVideo can not be loaded

未关闭 适合新手
#2,513 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

  • #2515 来自 @nalladev —— 已关闭,未合并

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
react, typescript
领域
frontend

调研方向

打开 useVideo.story.tsx,并在 Network 标签页打开的情况下在 Chrome 中复现演示。检查 sampleVideo URL,并更新它,使视频通过 HTTPS 提供;当 useVideo story 能够加载示例视频且不出现 mixed-content 失败时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

The sample video can not be loaded

go to https://streamich.github.io/react-use/?path=/story/ui-usevideo--demo
open the useVideo-story in chromeBrowser - in network-tab of the BrowserDeveloperTools you can see the video can not be loaded.
The browser tries to load the video over https, but the video is served over http.

A little about versions:

  • OS: MacOS 13.4.1
  • Browser (vendor and version): Chrome - Version 115.0.5790.114 (Offizieller Build) (x86_64)

it seems since chrome uses stricter security, loading this video does not work

to serve the video over https should solve this issue. :)

主要语言
TypeScript
星标
44k
派生
3.3k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

streamich/react-use 的其他 Issue

查看 streamich/react-use 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。