Giter Site home page Giter Site logo

Comments (7)

mpetroff avatar mpetroff commented on August 25, 2024

As far as I can tell, it's a bug in Apple's WebGL implementation for iOS. It seems to have a tendency of silently failing and giving weird results instead of throwing an error. Since the last release, I've added checks that catch some of these errors. I'll try this image with the development version once I have access to an iOS device again (in about two weeks).

from pannellum.

gbarmus avatar gbarmus commented on August 25, 2024

Thank you so much for looking into this. Oddly enough, the image on the pannellum.org page works fine on ipad. Off topic briefly to ask a question... Is there anything in the works to add hotspot hover image and/or video rather than opening in a new browser window? If so, I would like to know implementation.

from pannellum.

mpetroff avatar mpetroff commented on August 25, 2024

The panorama on pannellum.org is a multires panorama that uses small tiles, so no devices have texture size issues (which I suspect might be why the other panorama doesn't display properly).

For your other question, #12 added support for this, but I don't have any examples (and it might be broken as I've never tested it). Adding either an image or a video parameter with the image/video's URL to the hotspot's configuration should provide the desired functionality.

from pannellum.

gbarmus avatar gbarmus commented on August 25, 2024

I'll do some testing on this. Would this code already be implemented into the latest version or would I need to download something newer than 2.1.1? Cheers

from pannellum.

mpetroff avatar mpetroff commented on August 25, 2024

It's in 2.1.1.

from pannellum.

mpetroff avatar mpetroff commented on August 25, 2024

After doing some testing, it seems to be due to a bug in Apple's WebGL implementation. Only progressive JPEGs seem to work, with standard JPEGs producing the pattern described in this bug report. I only tried a couple images, so I'm not positive this is the cause, but if it is, there's nothing I can do about it.

from pannellum.

mpetroff avatar mpetroff commented on August 25, 2024

This seems to have been fixed in iOS 9. I added in a check to display an error message in iOS 8, though.

from pannellum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.