Skip to content

Conversation

@raulgspan
Copy link

@raulgspan raulgspan commented Jul 30, 2022

Fix issue 93 - null ref check

@Adverbly
Copy link

Is this a viable fix? The referenced issue mentions:

after video is removed from DOM

From what I understand, iframes fully reset their state when reparented, so it would likely be better to just re-initialize a new Player with a reference to the new iframe rather than trying to re-use the old one.

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.

accessing this.elem.contentWindow throws null reference exception after video is removed from DOM

3 participants