Matthew Petroff
862cd450e5
Handle case where only one of `horizonRoll` / `horizonPitch` is defined (see #402 ).
4 anos atrás
Matthew Petroff
15e0d09fec
Clean up the pull request that was just merged.
5 anos atrás
sayali-15
b0bf6e2538
Use actual image URL when blob fails to load because of CSP ( #813 ).
5 anos atrás
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
.
5 anos atrás
Matthew Petroff
8c085f4055
Revert "Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'""""
This reverts commit d0c38ece31
.
5 anos atrás
Matthew Petroff
ac321d0c1a
Extend XSS vulnerability fix.
5 anos atrás
Matthew Petroff
d0c38ece31
Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'"""
This reverts commit cf5f4df48a
.
5 anos atrás
Matthew Petroff
a8df695d6e
Fix build.
5 anos atrás
Matthew Petroff
cf5f4df48a
Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'""
This reverts commit b1794add89
.
5 anos atrás
Matthew Petroff
f42e80facb
Extend yaw bounds range to allow restricted range that crosses +/-180deg.
5 anos atrás
Matthew Petroff
a8ace328bb
Fix device orientation for iOS 13 ( #797 ).
5 anos atrás
Matthew Petroff
40111b237e
Fix potential XSS vulnerability.
5 anos atrás
Matthew Petroff
1a7c71c062
Possibly fix request for device orientation permission ( #797 ).
5 anos atrás
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
.
5 anos atrás
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.
5 anos atrás
Matthew Petroff
406d003e5c
Allow touch scrolling when `dragable` is false ( fixes #788 ).
5 anos atrás
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.
5 anos atrás
Matthew Petroff
8b9cc48ca7
Request device orientation permission (untested).
This is needed for iOS 13+ for device orientation mode to work.
5 anos atrás
Matthew Petroff
df4c45dd33
Move `load` event to fire after rendering instead of before ( #768 ).
5 anos atrás
Matthew Petroff
e1d4c9a5e5
Improved recovery from failed scene loading ( #755 ).
5 anos atrás
Matthew Petroff
6fe51935c8
Fix behavior of `multiResMinHfov` to match docs ( fixes #783 ).
5 anos atrás
Will Calderbank
447537fbb0
Stop animate loop running after destroy has been called
5 anos atrás
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.
5 anos atrás
Matthew Petroff
d773cc9f60
Fix regression with auto-rotate stopping early ( fixes #764 ).
This regression was introduced in 12516e69b9
.
5 anos atrás
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
5 anos atrás
Matthew Petroff
ebc31b7239
Fix recovery from load failure ( fixes #755 ).
5 anos atrás
Matthew Petroff
ec0febf054
Fix regression with Video.js plugin.
5 anos atrás
Matthew Petroff
967378312f
Prep for release.
5 anos atrás
Matthew Petroff
de08b9d7a8
Add `authorURL` configuration parameter (implements #751 ).
5 anos atrás
Matthew Petroff
15ddea01bd
Remove unnecessary `encodeURI` calls.
5 anos atrás
Matthew Petroff
1c6c26fd48
Remove `requestAnimationFrame` shim, dropping support for some older browsers.
5 anos atrás
Matthew Petroff
d02cedcc4e
Document that the viewer pans to the initial pitch before starting auto rotation (see #744 ).
5 anos atrás
Matthew Petroff
aadbd08fef
Apply JSHint fixes.
5 anos atrás
Matthew Petroff
1b92bf32b4
Properly handle dynamic first scene without need to manually call `setUpdate`.
5 anos atrás
Matthew Petroff
107b2a180d
Check if previous scene was loaded before trying to fade ( fixes #741 ).
5 anos atrás
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 .
5 anos atrás
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.
5 anos atrás
Matthew Petroff
34cb1a409e
Another check to make sure hot spot div exists before deleting it ( #702 ).
5 anos atrás
Matthew Petroff
19b020dbc7
Check to make sure hot spot div exists before deleting it ( #702 ).
5 anos atrás
Matthew Petroff
12516e69b9
Fix issue with mouse dragging causing jump around yaw limits ( fixes #698 )
6 anos atrás
Matthew Petroff
03eb7fa131
Add check for `document.fullscreenElement` since `document.fullscreen` is deprecated.
6 anos atrás
Matthew Petroff
bcebff27d1
Don't fire `fullscreenchange` event on resize.
6 anos atrás
Matthew Petroff
f05615045e
Fix event listener removal regression introduced in 64c337beff
.
6 anos atrás
Matthew Petroff
f0af9d07bf
Fix interaction between F11 and API fullscreens in Chrome ( fixes #696 ).
6 anos atrás
Will Calderbank
4242e7c53a
Add stopMovement to stop all movement ( #690 )
Add `stopMovement` to stop all movement
6 anos atrás
Matthew Petroff
a057211989
Allow switching to dynamic scenes ( fixes #686 ).
6 anos atrás
Will Calderbank
2d7ccb5fad
Allow friction value to be set in options
6 anos atrás
Matthew Petroff
5c36101744
Restructure how animated move callbacks are handled to fix possible race condition (see #658 ).
6 anos atrás
Matthew Petroff
d12baa08d4
Fix mouse position for iOS ( fixes #668 ).
6 anos atrás
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.
6 anos atrás