-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: setMediaElement to properly subscribe/unsubscribe media events (#…
…3278) * Set 'setMediaElement' as protected in Player * Handle player events subscribe/unsubsribe when setting media - First we unsubscribe from all existing media event listeners - Then after setting new media element we subscribe to media events * Add additional specs for setMediaElement
- Loading branch information
1 parent
582c0ee
commit f5b9490
Showing
3 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters