Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for a passed DOM node #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

check for a passed DOM node #8

wants to merge 2 commits into from

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 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.

1 participant