addChild
should not be sensitive to the first letter casing
#3436
Labels
addChild
should not be sensitive to the first letter casing
#3436
When adding a component using
addChild
or getting a component usinggetChild
, videojs expects the component to be in acamelCased
style. However, the class names areUpperCamelCased
which can be a bit confusing to users.Instead, these methods (and any other related method) should accept the component name as both
camelCase
andUpperCamelCase
but notlowercase
orUPPERCASE
.This came up as a result of #3416.
The text was updated successfully, but these errors were encountered: