Open syedhusain-appspace opened 4 years ago
If anyone needs a workaround for this, in your main application, create a 'polyfill' for startsWith for Number
Number.prototype.startsWith = function() { return false; }
Thanks for this and apologies for the massive delay getting the fix out. It's in v3.6.3 👍
Is this released already? it's not on npm!
Thanks
Apologies, I'll get it on npm shortly.
Done!
Apologies, I'll get it on npm shortly.
Thanks a lot, Sam!
When using the library in LG WebOS3.0 TVs, migrateStyles will throw a JS error (undefined is not a function) due to this.media.styles contains a property length=0 (or any numbers - as per screenshot).
Suggest to modify the filter function to also check if key is a string or not before running key.startsWith('--plyr')
(first time submitting bug in GitHub, do let me know if I'm not following any guidelines)