Jonas Petersen
9ccf60b88e
Fixed typo.
3 lat temu
Matthew Petroff
50ea593a09
Fix bug in multires performance improvements ( fixes #935 ).
This seems to be caused by a race condition, but adding a check to make sure
the node is defined seems to fix it.
4 lat temu
Matthew Petroff
4382de1604
Make opening of links in new tabs configurable.
Default to not doing so except for in standalone viewer.
4 lat temu
Matthew Petroff
776775f1d8
Add `rel="noopener"` to `target="_blank"` links to improve security ( #929 ).
4 lat temu
Matthew Petroff
7278d9a3b8
Tweak keyboard pan / zoom speeds.
4 lat temu
Andras Elso
14208198aa
Add support for initial view settings ( #918 )
* Add support for initial view settings
* Independent pitch/yap/hfov configure from xmp
4 lat temu
Matthew Petroff
7f2041c9cf
Fix regression in Safari caused by PR #881 .
4 lat temu
Andras Elso
2d529c5fac
Dockerfile tweak ( #919 )
* Upgrade dockerfile to ubuntu 20.04
* Delete apt list files
4 lat temu
Matthew Petroff
a7a8b85c34
Use `ImageBitmap` for fades and allow for other image return formats.
This should improve scene transition performance with fades enables,
particularly for high resolution displays.
4 lat temu
Matthew Petroff
3a10b89937
Load multires image tiles in worker thread.
4 lat temu
Matthew Petroff
5eab5366f6
Numerous performance improvements for multiresolution panoramas ( #911 ).
* Use typed arrays where possible to reduce heap usage by more than half,
which greatly reduces number of frames dropped due to garbage collection.
* Synchronize texture loading to rendering, which avoids dropped frames caused
by texture loading happening just before rendering event was going to fire.
* Reduce number of WebGL calls by eliminating unneeded binding and by not
rendering tiles that are completely obscured by higher resolution tiles.
4 lat temu
Matthew Petroff
1d951e3d03
Fix hot spot positioning on page with right-to-left text ( fixes #903 ).
4 lat temu
Matthew Petroff
44e878f307
Use ResizeObserver to fix issues with leaving full screen in Chrome ( fixes #897 ).
For some reason, Chrome returns incorrect element sizes when the
`fullscreenchange` fires after leaving full screen when using the Video.js
plugin. It seems the event fires before the element is properly sized. Using a
ResizeObserver on the container element fixes this issue.
4 lat temu
Matthew Petroff
9df0b8bd98
Convert load button to <button> element ( fixes #890 ).
4 lat temu
Matthew Petroff
2986c78231
Also add statement about English to contributing guidelines.
4 lat temu
Matthew Petroff
28ca2bb4f0
Add note to contributing guidelines about writing in English.
Multiple people have now opened issues in other languages, so I guess I need
to be explicit. I thought it was obvious that English should be used given
that all the documentation is written in English, but apparently it isn't.
4 lat temu
NiHoel
6758d060f7
Add hot spot dragging and a few more minor changes ( #881 ).
* Hotspot dragging (hot spot attribute draggable + dragHandler function)
* Allow Image and ImageData and ImageBitmap as parameter panorama for equirectangular scenes
4 lat temu
Matthew Petroff
b4a12929d0
Update Travis CI badge.wq
4 lat temu
Matthew Petroff
1f9f0cd3fd
Fix typos in docstrings / comments.
4 lat temu
praefectius
825861a633
startAutoRotate | possible improvement ( #883 )
* pannellum.js | possible improvement
startAutoRotate = function(speed, pitch, hfov)
Use case:
1. by using "getPitch()" and "getHfov()" as parameter you can just rotate your panorama with the current view.
2. if origHfov is set to a small value (eg. to start with a highlight inside a big panorama) you still can use startAutoRotate with a wider view
* Update pannellum.js
4 lat temu
Matthew Petroff
1a390dfdb0
Fix typo in March's `DeviceMotionEvent` fix.
4 lat temu
Matthew Petroff
6075769935
Trigger click handler functions with touch input ( fixes #861 ).
4 lat temu
Matthew Petroff
28144ad301
Fix issue with `avoidShowingBackground` without `minPitch` / `maxPitch` defined ( fixes #851 ).
4 lat temu
Matthew Petroff
0158f757df
Bump copyright year.
4 lat temu
Matthew Petroff
9592d2ab7b
Fix issue with `orientationOnByDefault` with macOS version of Safari ( #846 ).
4 lat temu
Matthew Petroff
becd096819
Document `doubleClickZoom` parameter (see #842 ).
4 lat temu
Matthew Petroff
862cd450e5
Handle case where only one of `horizonRoll` / `horizonPitch` is defined (see #402 ).
4 lat temu
Matthew Petroff
15e0d09fec
Clean up the pull request that was just merged.
5 lat temu
sayali-15
b0bf6e2538
Use actual image URL when blob fails to load because of CSP ( #813 ).
5 lat temu
Matthew Petroff
6fd8a09710
Fix edge case with multires tiles.
Previously, one could generate a tile set that had the second level resolution
equal to the tile resolution, so it only had one tile per face.
5 lat temu
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 lat temu
Matthew Petroff
17210d820a
Prep for release.
5 lat temu
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 lat temu
Matthew Petroff
ac321d0c1a
Extend XSS vulnerability fix.
5 lat temu
Matthew Petroff
c58cd4096d
Add CVE number.
5 lat temu
Matthew Petroff
d0c38ece31
Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'"""
This reverts commit cf5f4df48a
.
5 lat temu
Matthew Petroff
a8df695d6e
Fix build.
5 lat temu
Matthew Petroff
305f93d2e2
Prep for release.
5 lat temu
Matthew Petroff
cf5f4df48a
Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before ( #768 ).'""
This reverts commit b1794add89
.
5 lat temu
Matthew Petroff
cc2f3d9995
Merge pull request from GHSA-m52x-29pq-w3vv
Fix potential XSS vulnerability
5 lat temu
Matthew Petroff
f42e80facb
Extend yaw bounds range to allow restricted range that crosses +/-180deg.
5 lat temu
Matthew Petroff
a8ace328bb
Fix device orientation for iOS 13 ( #797 ).
5 lat temu
Matthew Petroff
40111b237e
Fix potential XSS vulnerability.
5 lat temu
Matthew Petroff
f6ac45ba7f
Add note about HTTPS being needed for device orientation.
5 lat temu
Matthew Petroff
1a7c71c062
Possibly fix request for device orientation permission ( #797 ).
5 lat temu
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 lat temu
Matthew Petroff
c4d6a34790
Fix typo.
5 lat temu
Matthew Petroff
a5ed9e64f3
Prep for release.
5 lat temu
Matthew Petroff
a281267cf0
Add PDF of JOSS paper.
5 lat temu
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 lat temu