Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: only print dom warning on player creation #4755
Previously 'element is not in the dom' warnings would go off every time that we get a player from videojs. This change fixes that as well as a bug that would occur if the tag was passed in twice to video.js. This would cause the tag to technically not be in the dom as the element has changed, but the correct player is still returned.
Specific Changes proposed
Please list the specific changes involved in this pull request.