Matthew Petroff

Results 328 comments of Matthew Petroff

@fluidadsjtr I should have time in July, but the next three weeks are very busy for me. You should be able to implement your suggested zoom method using a custom...

> Is there an way to make it load a lower res file that then is updated with a high res file? With regard to multires panoramas, this isn't possible,...

Support for multires SHT and thumbnail previews was added in 9788fc6512fe0de950cb10678dc4d4f453ad376e. The multires `generate.py` script now automatically generates spherical-harmonic-transform-based previews for spherical panoramas, assuming the [pyshtools](https://shtools.github.io/SHTOOLS/) Python package is installed....

You'd have to make some edits to the `orientationListener` function in `pannellum.js`. Where it currently records the starting yaw offset, you'd want to also record the pitch (the roll should...

You're passing a string not a function. Assuming `customLink` and `customLinkClick` are your function names, drop the quotation marks around the names to specify the functions themselves instead of strings...

I assume you're using the recently added hot spot dragging functionality. As noted in the [documentation for the `dragHandlerFunc` parameter](https://github.com/mpetroff/pannellum/blob/1d951e3d03ea7d5e8ebb5370514492edba147993/doc/json-config-parameters.md#draghandlerfunc-function-and-draghandlerargs-object), the specified function is called when hot spot dragging starts...

@joshuakoh1 You can use the `.getPitch()`, `.getYaw()`, and `getHfov()` methods on the `Viewer` object.

Yes, the partial panorama and video functionality can be combined. Starting from the [video example](https://pannellum.org/documentation/examples/video/), you'll need to modify the Pannellum configuration; replace ```javascript videojs('panorama', { plugins: { pannellum: {}...

For it to work in Chrome, you need to set Video.js's autoplay option to `'muted'`, e.g., ```javascript videojs('panorama', { autoplay: 'muted', plugins: { pannellum: { vaov: 180, haov: 360 }...

There's no such functionality built-in, but you could probably build something using a custom event handler for `mousedown` / `mouseup` / `touchstart` / `touchend` events.