Skip to content

Conversation

@felixzapata
Copy link

Description

This pull request checks if you pass a DOM node instead of a String id when you no pass options.

This check was already done in the VideoPlayer and the AudioPlayer objects.

For example, before the pull request, this will fail:

this.localStream.play(document.querySelector('#myLocalVideo'));

but, before the pull request, this won't:

this.localStream.play(document.querySelector('#myLocalVideo'), { bar: false, resizer: true, loader: false });

@felixzapata felixzapata self-assigned this Sep 26, 2018
@felixzapata felixzapata requested a review from wolmi September 26, 2018 08:56
@felixzapata felixzapata changed the title check for a assed DOM node check for a passed DOM node Sep 26, 2018
@wolmi wolmi removed their request for review January 20, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants