VP-263: Expose applier events through the components event system

Metadata

Source
VP-263
Type
Improvement
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
N/A
Reporter
Justin Obara
Created
2013-02-12T13:20:04.859-0500
Updated
2017-12-22T10:28:54.706-0500
Versions
  1. 0.1
Fixed Versions
N/A
Component
  1. captions
  2. controls
  3. core
  4. media
  5. transcripts

Description

The applier events should be exposed through the components own event system so that it will be easier to extend functionality for both developers of Video Player and any integrators using it.

Currently throughout the codebase there are a lot of instances where in block of code a listener is programmatically attached to one of the appliers model change event paths.

e.g.

someFunc = function (that) {
that.applier.modelChanged.addListener("path", function () {
doSomething();
});
}

In doing this, the event is not exposed to any other function. Another addListener would have to be added for the next call that needs to be executed.

Comments

  • Justin Obara commented 2017-12-22T10:28:54.705-0500

    The video player repository has been archived.