Will HTML5 video source URL follow header redirects?
Right now I am still using flash as primary player and have a HTML5 fallback, because its still buggy especially when it comes to codes.
However my question is, if I have a video source in an HTML5 video
tag, and the source actually 开发者_StackOverflow中文版delivers a document (with correct content type headers etc of course) with an header redirect issued to the real video source, will there be any problems with that? I can't find any documentation about that.
In HTML5, by the specification, probably every resources - including the resources to be downloaded when using the elements <script>
, <iframe>
, <object>
, <embed>
, <video>
, <audio>
, <source>
, <track>
and so on - are obtained by a process described as "fetching" which also takes HTTP redirects into account (step 7. of the process in the given link).
精彩评论