S
S
STAR2018-05-20 13:49:56
safari
STAR, 2018-05-20 13:49:56

Is it possible in Safari to draw the contents of a MediaSource video to a canvas?

In Safari 11.1, when trying to draw the contents of a MediaSource video to a canvas using the drawImage method, nothing draws ( Example , video above, canvas below it), while if the video source is specified as video.src, then there is no problem, the video is drawn ( Example ) . There is no problem in other browsers. In Safari Technology Preview, the problem is also present.
There was Bug 125157 in the WebKit bugtracker , but it's marked as resolved, and judging by the versions, as far as I could figure out, Safari 11.1 should have been in by now.
Maybe there is some workaround to draw mse video on canvas in Safari, or just wait for new versions?

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