Giter VIP home page Giter VIP logo

Comments (7)

artpolikarpov avatar artpolikarpov commented on May 26, 2024

Have you a demo?

SCRIPT5007: Unable to get value of the property 'i': object is null or undefined
fotorama.js?mqw9c0, line 1372 character 7

Seems to checkForVideo() function, under dataFrame.i) doesn't seem to like IE8:

$.each(data, function (i, dataFrame) {
if (!dataFrame.i) {
dataFrame.i = dataFrameCount++;
var video = findVideoId(dataFrame.video, true);
if (video) {
var thumbs = {};
dataFrame.video = video;
if (!dataFrame.img && !dataFrame.thumb) {
thumbs = getVideoThumbs(dataFrame, data, that);
} else {
dataFrame.thumbsReady = true;
}
updateData(data, {img: thumbs.img, thumb: thumbs.thumb}, dataFrame.i, that);
}
}
});
}

—
Reply to this email directly or view it on GitHub.

from fotorama.

joshuataylor avatar joshuataylor commented on May 26, 2024

Changing my code the following: #42

Seems to have fixed the issue, using the question #17 (comment) was giving me dramas.

Thanks!

from fotorama.

joshuataylor avatar joshuataylor commented on May 26, 2024

Hi another thing I've noticed with IE8 - The main image doesn't fit properly.

If you open the examples at http://fotorama.io/customize/fullscreen/ and try them in IE8 (If you have IE10 you can do IE8 mode, or use one of the free virtual machines Microsoft now provides) you will see it doesn't fit properly.

from fotorama.

artpolikarpov avatar artpolikarpov commented on May 26, 2024

Can you give me a screenshot?

from fotorama.

joshuataylor avatar joshuataylor commented on May 26, 2024

Sure!

IE8: http://i.imgur.com/RzGwGTS.jpg
IE9 (Works perfectly): http://i.imgur.com/lW3ZKGP.jpg

IE8 doesn't resize the image properly, so the nav (thumbnails or dots) doesn't show as it's pushed down.

I'm using the examples at http://fotorama.io/customize/fullscreen/ .

from fotorama.

artpolikarpov avatar artpolikarpov commented on May 26, 2024

Confirmed.

from fotorama.

joshuataylor avatar joshuataylor commented on May 26, 2024

Fotorama now works perfectly in IE7/IE8.

from fotorama.

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.