You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be true for other component types as well, but at least for Tech.
If your Tech is named 'OgvJs' or 'HtmL5', than per the camelCase convention of options, you would expect that you can pass Tech options to your Tech like:
{
ogvJs: {},
htmL5: {}
}
or
{
ogvjs: {},
html5: {}
}
This however doesn't work. The options extra options are not present. If you inspect your Tech inside createEl, then you will see that the instance of your tech there shows this.name_ == null
Instead you have to rename your class to Html5 or Ogvjs, for your options to be copied into the options of the Tech constructor. This is confusing and unexpected.
The text was updated successfully, but these errors were encountered:
hartman
added a commit
to hartman/videojs-ogvjs
that referenced
this issue
Dec 8, 2015
Might be true for other component types as well, but at least for Tech.
If your Tech is named 'OgvJs' or 'HtmL5', than per the camelCase convention of options, you would expect that you can pass Tech options to your Tech like:
or
This however doesn't work. The options extra options are not present. If you inspect your Tech inside createEl, then you will see that the instance of your tech there shows this.name_ == null
Instead you have to rename your class to Html5 or Ogvjs, for your options to be copied into the options of the Tech constructor. This is confusing and unexpected.
The text was updated successfully, but these errors were encountered: