[英]How to embed azure media services live stream to a personal website
I have created a simple live stream using Azure Media Services.我使用 Azure 媒体服务创建了一个简单的实时 stream。 I can view it from Azure Media Player but I want to be able to embed the video to my personal website using the
<Video></Video>
HTML tag.我可以从 Azure 媒体播放器查看它,但我希望能够使用
<Video></Video>
HTML 标签将视频嵌入到我的个人网站。 I've been looking for a solution but I can't seem to find one.我一直在寻找解决方案,但似乎找不到。 Is this even possible?
这甚至可能吗?
The HTML5 tag does not always support playback of HLS or DASH depending on the platform you are on. HTML5 标签并不总是支持播放 HLS 或 DASH,具体取决于您所在的平台。
https://caniuse.com/?search=hls https://caniuse.com/?search=dash https://caniuse.com/?search=hls https://caniuse.com/?search=dash
Sounds like you are trying to playback HLS or DASH from Azure Media Services with just an HTML5 video tag and no javascript player framework.听起来您正在尝试从 Azure 媒体服务播放 HLS 或 DASH,仅使用 HTML5 视频标签,没有 javascript 播放器框架。 That won't work in most browsers.
这在大多数浏览器中都不起作用。
Review https://howvideo.works/ for background on how HLS and DASH actually work in the browser - and the reason that you need access to a javascript library and the Media Source Extension feature of HTML5 (not always available in all browsers - see https://caniuse.com/mediasource )查看https://howvideo.works/了解 HLS 和 DASH 如何在浏览器中实际工作的背景 - 以及您需要访问 javascript 库和 Z6BFF62B10D884FB77428CFE168CD73 的媒体源扩展功能的原因 - 请参阅并非总是在所有浏览器中可用https://caniuse.com/mediasource )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.