You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View360 does not load on Safari when viewing from the Desktop. The error that appears in the console is - ReferenceError: Can't find variable: DeviceMotionEvent - Reason being is that DeviceMotionEvent does not exist for Safari Desktop.
The fix that works for me is to only target DeviceMotionEvent when on mobile devices. Solution:
Description
View360 does not load on Safari when viewing from the Desktop. The error that appears in the console is - ReferenceError: Can't find variable: DeviceMotionEvent - Reason being is that DeviceMotionEvent does not exist for Safari Desktop.
The fix that works for me is to only target DeviceMotionEvent when on mobile devices. Solution:
In view360-4.0.0-beta7.js (https://cdn.jsdelivr.net/npm/@egjs/view360@4.0.0-beta.7/dist/view360.pkgd.js), change:
to
Steps to check or reproduce
The text was updated successfully, but these errors were encountered: