Greetings!
I installed Drupal using ddev on Ubuntu 22.04. Then I followed the instructions at https://www.drupal.org/project/streaming and can see Streaming and Streaming Media Views listed on the Extend page. However, next to Streaming Media Views I see:
"This version is not compatible with Drupal 10.2.4 and should be replaced.
Machine name: streaming_media_views
Requires: Drupal Core (^9) (incompatible with version 10.2.4) Image, File, Field, Media (disabled) User,System, crop (missing), Streaming (disabled), PHP-FFMpeg"
The https://packagist.org/packages/aminyazdanpanah/handling-file-uploads page says:
"This package is abandoned and no longer maintained. No replacement package was suggested."
Is there any way of fixing this problem? I installed Drupal, because my librarians want to stream the videos we have from our in-house server and I would be grateful if you could help me!
Comments
Comment #2
aaron.ferris commentedHello @lolekbolek
Given this module isn't actively maintained, you may struggle to get a fix for this via the module itself.
However - the root of your issue, I believe is down to the modules .info file.
core_version_requirement: ^9Would need to read:
core_version_requirement: ^9 | ^10So you could patch it with the above. The concern however would be that the module code itself (outside of the core_version_requirement) isn't compatible with Drupal 10, which would then need further code changes to make it compatible.
Ive very quickly made this change locally and enabled the module, no immediate issues that I can see but tread carefully!
Edit - noticed a similar issue here, with a merge request for this change already. https://www.drupal.org/project/streaming/issues/3420563
Comment #3
aaron.ferris commentedComment #4
lolekbolek commentedMany thanks, Aaron.
I edited modules/streaming_media_views/streaming_media_views.info.yml, so this file now looks like this:
However now, when I tried to enable both modules in Admin>Extend, I installed the first one, Streaming, but the Streaming Media Views checkbox is greyed out. Is it because it has "crop (missing)"?
Comment #5
aaron.ferris commentedHello @lolekbolek
Thats right, for streaming_media_views it has a dependency on https://www.drupal.org/project/crop
Comment #6
lolekbolek commentedThank you again, @aaron.ferris!
I installed crop and now I can select the Streaming Media Views checkbox!
Comment #7
aaron.ferris commentedGreat, glad its working for you.
Comment #11
arturopanettaI updated the dependencies and upgraded to videojs 8.
Comment #12
aaron.ferris commentedLGTM, think we can mark this fixed?
Comment #13
arturopanettaok @aaron.ferris, mark fixed, thanks :)
Comment #14
aaron.ferris commentedThanks @arturopanetta!