MCPcopy
hub / github.com/DIYgod/DPlayer / on

Method on

src/js/player.js:324–326  ·  view source on GitHub ↗

* attach event

(name, callback)

Source from the content-addressed store, hash-verified

322 * attach event
323 */
324 on(name, callback) {
325 this.events.on(name, callback);
326 }
327
328 /**
329 * Switch to a new video

Callers 3

initVideoMethod · 0.95
switchQualityMethod · 0.95
initMSEMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected