Skip to content

Commit

Permalink
Listen to media detached
Browse files Browse the repository at this point in the history
Clears the encrypted event listener from the HTMLMediaElement in controller, and releases the stored reference.
  • Loading branch information
itsjamie committed Jan 23, 2019
1 parent 4e2ae38 commit 63db40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/eme-controller.ts
Expand Up @@ -103,6 +103,7 @@ class EMEController extends EventHandler {
constructor (hls) {
super(hls,
Event.MEDIA_ATTACHED,
Event.MEDIA_DETACHED,
Event.MANIFEST_PARSED
);

Expand Down

0 comments on commit 63db40f

Please sign in to comment.