9
9
999envy2021-07-19 08:27:36
safari
999envy, 2021-07-19 08:27:36

Why does HTML5 video in Safari show a black screen instead of a video after loading?

I'm trying to embed a video stream in html5 video, with muted autoplay playisinline options, in chrome and firefox it works well as expected. But in safari, after the stream is playable and the poster is removed, I see a black screen instead of the video. Other browsers don't have this problem, of course. If you remove autoplay and manually call play (), this also does not help. The video only appears after I switch between tabs or between apps on macOS itself.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question