gumgum / gg-ez-vp

Simple video player with minimal setup, intuitive API and straightforward features
https://gumgum.github.io/gg-ez-vp
MIT License
7 stars 4 forks source link

Fix compatibility issues from preloading images #32

Open edrpls opened 4 years ago

edrpls commented 4 years ago

31 introduced a possible problem when loading the module as CJS or ESM, since the browser version checks for DOM nodes to get the root URL where the script is loaded from.

edrpls commented 3 years ago

FYI, I now believe that said root URL validation is unnecessary. A user loading ggezvp more than once is probably a small edge-case we should not care about.