Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have azure streaming videos that I have implemented, however initially they don't load, I just see the default html5 video player skin and the video attempts to load but then doesn't, if the page refreshes I see the azure skin and the video loads correctly, this happens with every video on the site.

How can I change it so the video loads correctly?

        <video
          id={topic.id}
          className="azuremediaplayer amp-default-skin amp-big-play-centered"
          autoPlay
          controls
          width="640"
          height="400"
          data-setup='{"nativeControlsForTouch": false}'
        >
          <source
            src={topic.url}
          />
          <p className="amp-no-js">
            To view this video please enable JavaScript, and consider upgrading to a web browser
            that supports HTML5 video
          </p>
        </video>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...