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   

Description James Craig 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.
Comment 1 Radar WebKit Bug Importer 2014-02-28 00:44:40 PST
<rdar://problem/16193927>
Comment 2 Eric Carlson 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.
Comment 3 Jon Lee 2014-02-28 18:42:37 PST
FWIW, text tracks are on HTMLMediaElement.
Comment 4 James Craig 2014-03-03 16:08:25 PST
Closing.