Skip to content

Commit

Permalink
Return the mediaElement when using src on player getMediaElement (#1888)
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Velad Galván authored and joeyparrish committed Apr 23, 2019
1 parent 03c5ee0 commit 5297282
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2327,9 +2327,7 @@ shaka.Player.prototype.resetConfiguration = function() {
* @export
*/
shaka.Player.prototype.getMediaElement = function() {
return this.loadMode_ == shaka.Player.LoadMode.MEDIA_SOURCE ?
this.video_ :
null;
return this.video_;
};


Expand Down

0 comments on commit 5297282

Please sign in to comment.