我收到错误No compatible source found in this media.
(附图片)。下面提供的代码。
但是,如果我将源的原始 URL 粘贴到 HTML 中,则会显示视频。(例如<source src="https://URL_FROM_AZURE_BLOB_STORAGE.com"/>
:)
HTML
<video id="vid1" class="azuremediaplayer amp-default-skin" autoplay controls width="100%" height="100%" data-setup='{"techOrder": ["azureHtml5JS", "flashSS", "html5FairPlayHLS","silverlightSS", "html5"], "nativeControlsForTouch": false}'>
<source src={{url}}/>
<p class="amp-no-js">
To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
</p>
</video>
TS
this.url = "https://URL_FROM_AZURE_BLOB_STORAGE.com";