Bug 129473

Summary: webkitHasClosedCaptions and webkitClosedCaptionsVisible are on HTMLMediaElement, but should be on HTMLVideoElement
Product: WebKit Reporter: James Craig <jcraig>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: eric.carlson, jonlee, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

James Craig
Reported 2014-02-28 00:44:23 PST
webkitHasClosedCaptions and webkitClosedCaptionsVisible are on HTMLMediaElement, but should be on HTMLVideoElement. It doesn't make sense for an audio element to have captions, so this interface should be limited to video.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-02-28 00:44:40 PST
Eric Carlson
Comment 2 2014-02-28 15:01:14 PST
These attributes have been on HTMLMediaElement since 2009, and are widely used on a number of large sites. I am not sure it is worth moving them to HTMLVideoElement.
Jon Lee
Comment 3 2014-02-28 18:42:37 PST
FWIW, text tracks are on HTMLMediaElement.
James Craig
Comment 4 2014-03-03 16:08:25 PST
Closing.
Note You need to log in before you can comment on or make changes to this bug.