我有一个非常奇怪的问题。 Azure的媒体播放器工作得很好,直到几天前,当我真正需要它工作时,从那时起它就没有了。我附上了一张照片,这样每当我按下播放时你都能看到我在看的东西:
这是播放器的代码:
<video id="azuremediaplayer" class="azuremediaplayer amp-default-skin amp-big-play-centered" tabindex="0" autoplay controls width="100%" margin="0" margin="0px" poster="{{object.thumbnail.url}}" data-setup='{"logo": { "enabled": false },"nativeControlsForTouch": false, "plugins": {"ga":{ "eventsToTrack": ["playerConfig", "loaded", "playTime", "percentsPlayed", "start", "end", "play", "pause", "error", "buffering", "fullscreen", "seek", "bitrate"], "debug": false}}}'>
<source
src="{{object.ingest_url}}"
type="application/vnd.ms-sstr+xml"
/>
<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>
我使用的是2.2.4版本:
<link href="http://amp.azure.net/libs/amp/2.2.4/skins/amp-default/azuremediaplayer.min.css" rel="stylesheet">
<script src= "http://amp.azure.net/libs/amp/2.2.4/azuremediaplayer.min.js"></script>
我自己的错,Streaming Endpoint被意外关闭了。