Giter Site home page Giter Site logo

Comments (5)

jongmoon avatar jongmoon commented on August 25, 2024
  1. Need feature detection for background-size style.
  • for example, Android 4.3 does not support background-size.
    image
  1. IE version must be larger than 8

from egjs-view360.

jongmoon avatar jongmoon commented on August 25, 2024

Feature Tested

  • Galaxy S2 2.3.6, Default Browser
    • background-size feature: true
    • working: true
      • But It needs es5-shim files to makes axes work!
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.1.5/es5-shim.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.1.5/es5-sham.js"></script>
  • Galaxy S3 4.0.4 , Default Browser
    • true
    • true
  • Galaxy S4 4.2.2 , Default Browser
    • true
    • true
  • Windows 7, IE8
    • false
    • false
  • Galaxy S6 5.0.2, Default Browser
    • Mozilla/5.0 (Linux;Android 5.0.2;SAMSUNG SM-G920S Build/LRX22G) AppleWebkit/537.36(KHTML, like Gecko) SamsungBrowser/3.0 Chrome/38.0.2125.102 Mobile Safari/537.36
    • true
    • true
  • Galaxy A8 5.1.1, Default Browser (4.0)
    • image
    • true
    • true
  • Galaxy S6 Edge 5.0.2, Default Browser <-- Issue
    • Mozilla/5.0 (Linux;Android 5.0.2;SAMSUNG SM-G925S Build/LRX22G) AppleWebkit/537.36(KHTML, like Gecko) SamsungBrowser/3.0 Chrome/38.0.2125.102 Mobile Safari/537.36
    • true
    • false <-- not working

from egjs-view360.

jongmoon avatar jongmoon commented on August 25, 2024

It's related with pixel of jpeg image on Galaxy S6 Edge (Default Browser 3.0).

To tell the conclusion first,

  • If image is jpeg
  • and image pixel is more than 3.7 megapixels (3,686,760)

Samsung Browser 3 (on S6 Edge - SM-G925S) cannot calculate size of image.

I tested following cases.

  • 640 x 15360 (X) - it was first image that I found odd action.
  • 630 x 15120 (X) - resize above original image
  • 500 x 12000 (x)
  • 400 x 9600 (x)
  • 320 x 7680 (o)
  • 333 x 8000 (o)
  • 375 x 9000 (o)
  • 388 x 9300 (o)
  • 394 x 9450 (x)
  • 391 x 9375 (x)
  • 393 × 9425 (x)
  • 392 × 9412 (x)
  • 392 × 9406 (x)
  • 392 × 9403 (o)
  • 392 × 9404 (o)
  • 392 × 9405 (o) <-- Max size that works OK
  • 15360 × 640 (x) <-- rotate 90',
  • 1280 × 7680 (x) <-- width * 2, height / 2
  • 780 × 4680 (o) <-- resize above. it works OK
  • 785 × 4710 (x)
  • 640 x 15360 (o) PNG converted

from egjs-view360.

jongmoon avatar jongmoon commented on August 25, 2024

I think it is not proper to limit that browser because it can be used other case on that browser.

So let's make documentation for this issue.

from egjs-view360.

jongmoon avatar jongmoon commented on August 25, 2024

Guide for this

from egjs-view360.

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.