Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to reproduce this bug:
- Find the current videojs library path, we call it path1, make sure we only have 1 videojs library in the site.
- Go to Videojs config page (admin/config/media/videojs).
- Change 'Video.js location' to 'specificed path', and filling path1 to 'Video.js file directory', hit 'Save Configuration'
- Variable videojs_directory is set to path1 as expected.
- Move videojs library to another place, we call it path2
- Change 'Video.js location' to 'Libraries API', hit 'Save Configuration'
- Variable videojs_directory is set to path1, that's not what we want.
Comment | File | Size | Author |
---|---|---|---|
#1 | videojs_directory_is_not_updated-2192515-1.patch | 1.9 KB | tien.xuan.vo |
Comments
Comment #1
tien.xuan.vo CreditAttribution: tien.xuan.vo commentedAdd quick fix.
Comment #2
tien.xuan.vo CreditAttribution: tien.xuan.vo commentedUpdate status.
Comment #3
mglamanThis fixes Libraries integration.
Comment #4
Jorrit CreditAttribution: Jorrit as a volunteer commentedIn change http://drupalcode.org/videojs/commit/?id=adef482 I make sure that videojs_get_version does not use videojs_directory when using the libraries API. The reason is that videojs_directory should only be used when videojs_location is 'path'. Can you test if the current -dev version works for you?