Does anyone know if Safari supports crossorigin
attribute on the HTML5 <video>
tag? I serve video from a server that responds with all needed CORS headers, and I use the markup below to embed the video to my page. The page is served from a different domain.
I then draw the video to a canvas and get the image from the canvas using
<video controls crossorigin="anonymous" src="http://example.com/movie.mp4">
toDataURL
API. This works in Chrome and Firefox, but Safari throws the security error as if there were no crossorigin
attribute on the video.
Any ideas?