This change fixes an issue where calling the videojs setup function directly in a browser, where videojs-kit is included via a <script> tag currently throws an error. If you callvideojs.default instead of just videojs this will work at present. This PR aims to solve that problem, and keep operations the same as regular videojs.
This change fixes an issue where calling the
videojs
setup function directly in a browser, where videojs-kit is included via a<script>
tag currently throws an error. If you callvideojs.default
instead of justvideojs
this will work at present. This PR aims to solve that problem, and keep operations the same as regular videojs.