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.
After downloading JW Player and putting it inside libraries/ directory /admin/reports/status reports missing jwplayer.html5.js file. But such file doesn't exist in JW Player 7. It does exist in JW Player 6 but this player is no longer available for download from JW Player official webiste.
Issue is caused by incorrect check inside jw_player_requirements() function.
Comment | File | Size | Author |
---|---|---|---|
#7 | jw_player-incorrect_requirements_for_jwplayer_html5_js-2782953-7.patch | 772 bytes | bkhandruk |
| |||
#5 | jw_player-incorrect_requirements_for_jwplayer_html5_js-2782953-5.patch | 705 bytes | bkhandruk |
|
Comments
Comment #2
Peter Swietoslawski CreditAttribution: Peter Swietoslawski commentedComment #3
Peter Swietoslawski CreditAttribution: Peter Swietoslawski commentedComment #4
BerdirConfirmed. We have a setting for the version, so lets make this a bit more dynamic, always add the first two files, only add html5.js when we are on version 6.
Comment #5
bkhandruk CreditAttribution: bkhandruk commentedAdded a check for JW Player version in implementation of hook_requirements.
Comment #6
BerdirThanks!
I suppose that works too, I would have build an array variable and then looped over that. But this is fine. Lets add a comment that JW Player 7 doesn't have that file anymore.
Comment #7
bkhandruk CreditAttribution: bkhandruk commentedAdded a comment.
Comment #9
BerdirThanks, committed.
Comment #10
bkhandruk CreditAttribution: bkhandruk commentedThanks, @Berdir.