The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Some help with FitVids.js? Reply To: Some help with FitVids.js?


I can’t really test/see a great deal via iPhone but from what I can see, you’re linking to 2 jQuery libraries, and one is after the FitVid plugin in the source code;

  1. You should link to only ONE jQuery library
  2. All jQuery plugins and initialisations should come AFTER the jQuery library

BUT, I have to say that I find the idea of using a jQuery plugin (or any JavaScript for that matter) for doing something that can easily be achieved with a few lines of CSS, a bit unnecessary. Have you tried doing it the CSS way?

One other thing – I’m viewing on mobile, and your website isnt responsive, so I guess I’m not seeing the point of you worrying about fluid width videos. Maybe you could elaborate on that though?