Matthew Petroff
862cd450e5
Handle case where only one of `horizonRoll` / `horizonPitch` is defined (see #402 ).
il y a 4 ans
Matthew Petroff
15e0d09fec
Clean up the pull request that was just merged.
il y a 5 ans
sayali-15
b0bf6e2538
Use actual image URL when blob fails to load because of CSP ( #813 ).
il y a 5 ans
Matthew Petroff
7700206de8
Revert "Revert "Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'"""""
This reverts commit 8c085f4055
.
il y a 5 ans
Matthew Petroff
8c085f4055
Revert "Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'""""
This reverts commit d0c38ece31
.
il y a 5 ans
Matthew Petroff
ac321d0c1a
Extend XSS vulnerability fix.
il y a 5 ans
Matthew Petroff
d0c38ece31
Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'"""
This reverts commit cf5f4df48a
.
il y a 5 ans
Matthew Petroff
a8df695d6e
Fix build.
il y a 5 ans
Matthew Petroff
cf5f4df48a
Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'""
This reverts commit b1794add89
.
il y a 5 ans
Matthew Petroff
f42e80facb
Extend yaw bounds range to allow restricted range that crosses +/-180deg.
il y a 5 ans
Matthew Petroff
a8ace328bb
Fix device orientation for iOS 13 ( #797 ).
il y a 5 ans
Matthew Petroff
40111b237e
Fix potential XSS vulnerability.
il y a 5 ans
Matthew Petroff
1a7c71c062
Possibly fix request for device orientation permission ( #797 ).
il y a 5 ans
Matthew Petroff
b1794add89
Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'"
This reverts commit 6d12ef7968a484eb95802411c277260c3b867c5b, which restores
commit df4c45dd33
.
il y a 5 ans
Matthew Petroff
6d12ef7968
Temporarily revert "Move `load` event to fire after rendering instead of before ( #768 )."
This reverts commit df4c45dd33
temporarily to
push a new point release.
il y a 5 ans
Matthew Petroff
406d003e5c
Allow touch scrolling when `dragable` is false ( fixes #788 ).
il y a 5 ans
Matthew Petroff
c3cf33a5db
Use a smaller canvas for splitting too large images ( fixes #785 ).
This fixes a silent error for iOS; WebGL texture size limit also applies to
canvas dimensions.
il y a 5 ans
Matthew Petroff
8b9cc48ca7
Request device orientation permission (untested).
This is needed for iOS 13+ for device orientation mode to work.
il y a 5 ans
Matthew Petroff
df4c45dd33
Move `load` event to fire after rendering instead of before ( #768 ).
il y a 5 ans
Matthew Petroff
e1d4c9a5e5
Improved recovery from failed scene loading ( #755 ).
il y a 5 ans
Matthew Petroff
6fe51935c8
Fix behavior of `multiResMinHfov` to match docs ( fixes #783 ).
il y a 5 ans
Will Calderbank
447537fbb0
Stop animate loop running after destroy has been called
il y a 5 ans
Will Calderbank
3bbc5574cb
Add scale option to hot spot ( #760 )
* Add scale option to hot spot
When `true`, the hot spot is scaled to match the fish eye effect of the image.
Hot spots then appear to be embedded in the panorama instead of floating on top.
il y a 5 ans
Matthew Petroff
d773cc9f60
Fix regression with auto-rotate stopping early ( fixes #764 ).
This regression was introduced in 12516e69b9
.
il y a 5 ans
Will Calderbank
64f7c9cafc
Add optional pitch argument to startAutoRotate ( #761 )
* Add optional pitch argument to startAutoRotate
Before starting rotation, the viewer is panned to `pitch`.
If pitch is not specified, origPitch will be used
il y a 5 ans
Matthew Petroff
ebc31b7239
Fix recovery from load failure ( fixes #755 ).
il y a 5 ans
Matthew Petroff
ec0febf054
Fix regression with Video.js plugin.
il y a 5 ans
Matthew Petroff
967378312f
Prep for release.
il y a 5 ans
Matthew Petroff
de08b9d7a8
Add `authorURL` configuration parameter (implements #751 ).
il y a 5 ans
Matthew Petroff
15ddea01bd
Remove unnecessary `encodeURI` calls.
il y a 5 ans
Matthew Petroff
1c6c26fd48
Remove `requestAnimationFrame` shim, dropping support for some older browsers.
il y a 5 ans
Matthew Petroff
d02cedcc4e
Document that the viewer pans to the initial pitch before starting auto rotation (see #744 ).
il y a 5 ans
Matthew Petroff
aadbd08fef
Apply JSHint fixes.
il y a 5 ans
Matthew Petroff
1b92bf32b4
Properly handle dynamic first scene without need to manually call `setUpdate`.
il y a 5 ans
Matthew Petroff
107b2a180d
Check if previous scene was loaded before trying to fade ( fixes #741 ).
il y a 5 ans
Matthew Petroff
59893bcea4
Switch to `highp` precision for equirectangular fragment shader.
This resolves pixelation issues on some mobile devices (fixes #725 ).
It also may be related to issues #301 , #496 , #683 , and #708 .
il y a 5 ans
Matthew Petroff
71bf642860
Properly remove event listeners from container element ( fixes #710 ).
For three event listeners added to the container elements weren't being
removed properly, since `removeEventListener` was mistakenly being called on
`uiContainer` instead. This was preventing garbage collection.
il y a 5 ans
Matthew Petroff
34cb1a409e
Another check to make sure hot spot div exists before deleting it ( #702 ).
il y a 5 ans
Matthew Petroff
19b020dbc7
Check to make sure hot spot div exists before deleting it ( #702 ).
il y a 5 ans
Matthew Petroff
12516e69b9
Fix issue with mouse dragging causing jump around yaw limits ( fixes #698 )
il y a 6 ans
Matthew Petroff
03eb7fa131
Add check for `document.fullscreenElement` since `document.fullscreen` is deprecated.
il y a 6 ans
Matthew Petroff
bcebff27d1
Don't fire `fullscreenchange` event on resize.
il y a 6 ans
Matthew Petroff
f05615045e
Fix event listener removal regression introduced in 64c337beff
.
il y a 6 ans
Matthew Petroff
f0af9d07bf
Fix interaction between F11 and API fullscreens in Chrome ( fixes #696 ).
il y a 6 ans
Will Calderbank
4242e7c53a
Add stopMovement to stop all movement ( #690 )
Add `stopMovement` to stop all movement
il y a 6 ans
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
il y a 6 ans
Will Calderbank
2d7ccb5fad
Allow friction value to be set in options
il y a 6 ans
Matthew Petroff
5c36101744
Restructure how animated move callbacks are handled to fix possible race condition (see #658 ).
il y a 6 ans
Matthew Petroff
d12baa08d4
Fix mouse position for iOS ( fixes #668 ).
il y a 6 ans
Matthew Petroff
3151cafb1c
Split equirectangular images into two textures if too big.
This allows for equirectangular images on a given device to be twice as big as
they were previously, so (almost) all devices now support equirectangular
images up to 8192px across.
This technique could be extended to double the maximum size again (using eight
textures), but images bigger than 8192px should be converted to the
multi-resolution format anyway, so there's little point in implementing this
extension.
il y a 6 ans