The video set in Open Graph from my backend is not displayed.

huangapple go评论64阅读模式
英文:

The video set in Open Graph from my backend is not displayed

问题

为什么来自我的后端的视频在支持OpenGraph的播放器中无法播放,而来自其他网站的视频可以播放?我在前端使用NextJS,后端使用.NET。

英文:

Why do videos from my own backend not work in the player with OpenGraph support, while videos from other websites do work? I'm using NextJS for the frontend and .NET for the backend.
UPD. Removed links that will no longer work soon

答案1

得分: 0

"The "og:video" tag at the end of the link should have a file type of ".mp4", not necessarily the same as the video type, but one that is commonly used for videos."

"[HttpGet("Stream/{id}.{trash?}")]"

英文:

The "og:video" tag at the end of the link should have a file type of ".mp4", not necessarily the same as the video type, but one that is commonly used for videos.

[HttpGet("Stream/{id}.{trash?}")]

huangapple
  • 本文由 发表于 2023年5月25日 21:31:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/76332872.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定