HomeiOS Developmentc# - Streaming to video tag on IOS

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 .web 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 basically. Nevertheless, on Apple gadgets it as an alternative reveals a play button with a slash by 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 way in which my server returns the video. In that 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

Most Popular

Recent Comments