Restore some compatibility between Picarto and older browsers (like FF 52) -- StevenRoy
目前为 2024-11-16 提交的版本。查看 最新版本。
这些是代码更新过的版本。 显示所有版本
Fixed Picarto trying to reference a "globalThis" object when there's no such thing and never will be because there's no possible use case for adding such a feature to JavaScript in the first place and WHY IS THAT A THING NOW?
Reverted accidental changes to script name and description.
Fix for a couple of stupid bugs Picarto recently added to their video player code. (These actually had nothing to do with browser incompatibility: Someone over there is just bad at JavaScript.)
Well, Picarto's trying to use window.IntersectionObserver now for some reason. In browsers where that doesn't exist, this is now ignored instead of causing the whole page to crash.
Added missing "AbortController" object (or at least a rudimentary version of it). Not very vital, but there was at least one button that didn't function because of this and now it does.