Fitvids library is not detected

Created on 8 March 2024, 11 months ago
Updated 22 April 2024, 10 months ago

Drupal 10

Keep getting the warning "FitVids.js jQuery plugin Missing Download the plugin and copy it to /libraries/fitvids/jquery.fitvids.js"

I've installed the Libraries 4.0.4 module and activated it. I then downloaded https://raw.github.com/davatron5000/FitVids.js/master/jquery.fitvids.js and put it in the folder /sites/all/libraries/fitvids

sites, all and libraries folder are all set to 755
jquery.fitvids.js inside the fitvids folder is set to 644

No go... Warning remains, no matter what I do...

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇳🇿New Zealand mverhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mverhagen
  • 🇳🇿New Zealand mverhagen

    I've fixed the video width issue by adding this to my theme css, so I don't need fitvids anymore. This doesn't mean the open issue is fixed, but I have lowered the priority.

    .field--name-field-media-oembed-video {
      position: relative;
      overflow: hidden;
      width: 100%;
      padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    }
    
    /* Then style the iframe to fit in the container div with full height and width */
    .media-oembed-content {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
    }
    
  • Status changed to Closed: works as designed 10 months ago
  • 🇬🇧United Kingdom sergiur London, UK

    Please see this issue for how to get the library to install without downloading manually: 📌 Add composer.json file Needs work

Production build 0.71.5 2024