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