您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure Media Player 概述Azure Media Player overview

Azure Media Player 是一种 Web 视频播放器,用于在各种浏览器和设备中播放 Microsoft Azure 媒体服务中的媒体内容。Azure Media Player is a web video player built to play back media content from Microsoft Azure Media Services on a wide variety of browsers and devices. Azure 媒体播放器采用行业标准(如 HTML5、媒体源扩展 (MSE) 和加密媒体扩展插件 (EME))来提供更丰富的自适应流式处理体验。Azure Media Player utilizes industry standards, such as HTML5, Media Source Extensions (MSE), and Encrypted Media Extensions (EME) to provide an enriched adaptive streaming experience. 如果无法在设备或浏览器中提供这些标准,Azure 媒体播放器会采用 Flash 和 Silverlight 作为回退技术。When these standards are not available on a device or in a browser, Azure Media Player uses Flash and Silverlight as fallback technology. 如果不考虑所使用的播放技术,开发人员将有一个统一的 JavaScript 接口来访问 API。Regardless of the playback technology used, developers will have a unified JavaScript interface to access APIs. 这使 Azure 媒体服务提供的内容无需其他措施便可在各种设备和浏览中轻松播放。This allows for content served by Azure Media Services to be played across a wide-range of devices and browsers without any extra effort.

Microsoft Azure 媒体服务允许播放使用 HLS、DASH、平滑流格式提供的内容。Microsoft Azure Media Services allows for content to be served up with HLS, DASH, Smooth Streaming streaming formats to play back content. Azure 媒体播放器会考虑这些不同的格式并基于平台/浏览器功能自动播放最佳链接。Azure Media Player takes into account these various formats and automatically plays the best link based on the platform/browser capabilities. 媒体服务还允许使用 PlayReady 加密或 AES 128 位信封加密对资产进行动态加密。Media Services also allows for dynamic encryption of assets with PlayReady encryption or AES-128 bit envelope encryption. Azure 媒体播放器在合理配置时允许对 PlayReady 和 AES-128 位加密的内容进行解密。Azure Media Player allows for decryption of PlayReady and AES-128 bit encrypted content when appropriately configured.

备注

Widevine 加密的内容需要 HTTPS 播放。HTTPS playback is required for Widevine encrypted content.

使用 Azure Media Player 演示页Use Azure Media Player demo page

开始使用Start using

可以使用 Azure Media Player 演示页播放 Azure 媒体服务示例或你自己的流。You can use the Azure Media Player demo page to play Azure Media Services samples or your own stream.

若要播放新视频,请粘贴一个不同的 URL,然后按“更新”****。To play a new video, paste a different URL and press Update.

若要配置各种播放选项(例如技术、语言或加密),请按“高级选项”****。To configure various playback options (for example, tech, language, or encryption), press Advanced Options.

Azure Media Player

监视视频流的诊断Monitor diagnostics of a video stream

可以使用 Azure Media Player 演示页监视视频流的诊断。You can use the Azure Media Player demo page to monitor diagnostics of a video stream.

Azure Media Player 诊断

在 HTML 中设置 Azure Media PlayerSet up Azure Media Player in your HTML

Azure Media Player 易于设置。Azure Media Player is easy to set up. 只需要片刻时间便可实现媒体服务帐户中的媒体内容的基本播放。It only takes a few moments to get basic playback of media content from your Media Services account. 请参阅 Azure Media Player 文档来了解有关如何设置和配置 Azure Media Player 的详细信息。See Azure Media Player documentation for details on how to set up and configure Azure Media Player.

附加说明Additional notes

  • Widevine 是 Google Inc. 提供的一项服务,并受 Google Inc. 服务条款和隐私策略的约束。Widevine is a service provided by Google Inc. and subject to the terms of service and Privacy Policy of Google, Inc.

后续步骤Next steps