-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VIDEO tag #130
Comments
Indeed, Safari behavior is the most logical when reading the spec.
|
Agree with @plehegar on all comments |
For I've filed #132 to help look at the bigger picture, and determine if there are patches we want to do to Level 2 and/or if we should design something different for Level 3. |
@plehegar and @toddreifsteck - Since both of you indicated supporting "source" over "video", I'm wondering if there was a particular reason for that. If not, I'll happily land the CL and change the test :) |
The idea was to be as specific as possible. Given that source only functions with another "view" element, I can imagine that audio/video/picture could be the correct string and would be ok with that change. |
Having |
I think we should provide some guidance on how browsers should handle the
<video>
(and probably<audio>
) tags.See this repro page: http://dev.nicj.net/video-tag.html
Findings:
Chrome
poster=""
images asinitiatorType="video"
initiatorType=""
(blank).Edge
poster=""
images asinitiatorType="img"
Firefox
poster=""
images asinitiatorType="img"
initiatorType="other"
Safari
poster=""
images asinitiatorType="video"
initiatorType="video"
Unfortunately, it looks like none of the UAs agree on how ResourceTiming should reflect media elements.
I think there's a couple questions:
<video>
poster=""
attribute show up as?<video>
with asrc=""
attribute show up as?<video><source src=""></video>
element show up as?My initial take: Safari's behavior seems most logical to me (though its Range request entries are hampered by lack of ResourceTiming2
transferSize
/ etc attributes).Thoughts:
localName
, i.e.video
. Though this makes it harder to differentiate both the image and video downloaded from the same tag. Maybe it could bevideo-poster
instead?<video>
with asrc=""
attribute shows up asvideo
<video><source src=""></video>
element could go either way:video
orsource
, but I thinkvideo
is more helpful.The text was updated successfully, but these errors were encountered: