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

lolekbolek created an issue. See original summary.

aaron.ferris’s picture

Hello @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: ^9

Would need to read:
core_version_requirement: ^9 | ^10

So 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

aaron.ferris’s picture

lolekbolek’s picture

Many thanks, Aaron.

I edited modules/streaming_media_views/streaming_media_views.info.yml, so this file now looks like this:

name: Streaming Media Views
description: 'A UI for Streaming by reusing Media and Views.'
package: Media
type: module
core_version_requirement: ^9 | ^10

libraries:
  - streaming_media_views/videojs

dependencies:
  - drupal:image
  - drupal:media
  - drupal:crop
  - drupal:user
  - drupal:streaming

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)"?

Streaming
Streaming is a FFMpeg video streaming transcoder.
Machine name: streaming
Requires: PHP-FFMpeg
Required by: Streaming Media Views (disabled)

Streaming Media Views
A UI for Streaming by reusing Media and Views.
Machine name: streaming_media_views
Requires: Image, File, Field, Media, User, System, crop (missing), PHP-FFMpeg
aaron.ferris’s picture

Hello @lolekbolek

Thats right, for streaming_media_views it has a dependency on https://www.drupal.org/project/crop

lolekbolek’s picture

Thank you again, @aaron.ferris!

I installed crop and now I can select the Streaming Media Views checkbox!

aaron.ferris’s picture

Great, glad its working for you.

  • arturopanetta committed eeb07b7e on 2.x
    Issue #3437526 by lolekbolek: Streaming Media Views not compatible with...

  • arturopanetta committed 2b6a391e on 2.x
    Issue #3437526: Streaming Media Views not compatible with Drupal 10
    

arturopanetta’s picture

Status: Active » Needs review

I updated the dependencies and upgraded to videojs 8.

aaron.ferris’s picture

LGTM, think we can mark this fixed?

arturopanetta’s picture

Status: Needs review » Fixed

ok @aaron.ferris, mark fixed, thanks :)

aaron.ferris’s picture

Thanks @arturopanetta!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.