I think the issue is not so much #368 (which writes an error message to the data-error attribute, but #359, which introduces window.onunhandledrejection. I've made an alternative version of of your PR #398 which does keep in the error logging via data-error, but removed the window.onunhandledrejection, just like yours. The testrun below shows that this does seem to fix the iOS video issues.
https://github.com/psychopy/psychojs/runs/2824210423?check_suite_focus=true
I think the issue is not so much #368 (which writes an error message to the
data-error
attribute, but #359, which introduceswindow.onunhandledrejection
. I've made an alternative version of of your PR #398 which does keep in the error logging viadata-error
, but removed thewindow.onunhandledrejection
, just like yours. The testrun below shows that this does seem to fix the iOS video issues. https://github.com/psychopy/psychojs/runs/2824210423?check_suite_focus=true