Video icon indicating copy to clipboard operation
Video copied to clipboard

How to set autoplay?

Open sdhzth opened this issue 11 months ago • 1 comments

sdhzth avatar Feb 26 '25 10:02 sdhzth

Hi @sdhzth from my tests when you declare the BlazoredVideo element you can set it as a property as many others from the documentation

<div class="video-container mt-3">
      <BlazoredVideo class="w-100" style="max-height: 500px;" 
                    @ref="videoPlayer"
                    Autoplay="true"
                    Controls="true">
          <source src="@StreamUrl" type="@StreamType" />
      </BlazoredVideo>
  </div>

Read the documentation here

hope this helps

marconsilva avatar Apr 30 '25 13:04 marconsilva