c# – Streaming to video tag on IOS


I’ve the next video tag:

<Video autoplay controls id="participant" src="">Your broswer doesn't assist video tags</Video>
The supply is my .internet core minimal webapi which returns a video utilizing the next code:

return File(System.IO.File.ReadAllBytes($"Clips/{id}.mp4"), "software/octet-stream", $"{id}.mp4", enableRangeProcessing: true);
The video is streamed completely on home windows, linux, android, something below the solar primarily. Nonetheless, on Apple units it as a substitute reveals a play button with a slash via it.

I’ve tried including the playsinline attribute to the video tag, to no avail.
Tried most solutions from this thread which has made me query whether or not this can be a problem with the best way my server returns the video. If that’s the case, are there any edits I must make to the backend to make the video play on IOS?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles