Bug 136404

Summary: cue change event is not raised on track elements & objects
Product: WebKit Reporter: Silvia Pfeiffer <silviapf>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 525.x (Safari 3.2)   
Hardware: Unspecified   
OS: Unspecified   

Description Silvia Pfeiffer 2014-08-29 23:29:18 PDT
Example: http://html5videoguide.net/NEW/CH4/code_c4_8.html

Works in Chrome 36.

Spec: http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#event-media-cuechange

The cuechange event should be raised both on the TextTrack object and the HTMLTrackElement when a cue becomes active according to the spec. Neither is happening in Safari.

(Try replacing
        tracks[i].oncuechange = cuechange;
with
        tracks[i].track.oncuechange = cue change;

to check if it's happening on the TextTrack object.)
Comment 1 Silvia Pfeiffer 2014-08-29 23:51:12 PDT
Sorry, moved the example to http://html5videoguide.net/NEW/CH4/code_c4_9.html