Bug 136404 - cue change event is not raised on track elements & objects
Summary: cue change event is not raised on track elements & objects
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-29 23:29 PDT by Silvia Pfeiffer
Modified: 2014-08-29 23:51 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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