Hello!
Will there be a version that works with the Video Embed Field 8.x-2.0 which works with the core Media?
As I tried to install the 8.x-1.2-beta1 in a project that is using core media and Video Embed Field 8.x-2.0 I got this message from composer:
- drupal/video_embed_spotify 1.x-dev requires drupal/video_embed_field ~1.5 -> satisfiable by drupal/video_embed_field[1.x-dev].
- drupal/video_embed_spotify 1.2.0-beta1 requires drupal/video_embed_field ~1.5 -> satisfiable by drupal/video_embed_field[1.x-dev].
- Conclusion: don't install drupal/video_embed_field 1.x-dev
- Installation request for drupal/video_embed_spotify ^1.2-beta1 -> satisfiable by drupal/video_embed_spotify[1.x-dev, 1.2.0-beta1].(Video Embed Field 8.x-1.5 is compatible with the old Media Entity )
Thanks
Comments
Comment #2
sleitner commentedHello @hstrindb,
there will be no version of this module with core media support, simply because the module name includes "video embed" and this would be misleading with core media support. May be there will be a separate module in the future.
Comment #3
sleitner commentedTake a look at this issue at Media entity Spotify https://www.drupal.org/project/media_entity_spotify/issues/2912612
Comment #4
sleitner commented@hstrindb, The plugin API in 2.x did not change for the used functions in this plugin. Please try 1.2-beta2 to continue using Video Embed Field
Comment #5
sleitner commentedComment #7
hs@henrikstrindberg.se commentedCan't make it work as intended but there is a workaround:
#4 After installing the 8.x-1.2-beta1 on a fresh D8.7.5 it is recognized by Video Embed Field 8.x2-2 (the Spotify checkbox is there).
But when entering a link to a Spotify track there is this error message:
This is the Spotify URL that I tried:
https://open.spotify.com/track/1F6hgVyX5T5zIlv8tNgXHt?si=ZWGo4xnvR2GkmSM...
#3 I have also tested the Media entity Spotify and I can't make that one work. So there is no module for Spotify to work with core Media.
A workaround is to use this module to use core media. But instead of using the url to a Spotify track I add a formatted textfield for the Spotify embed code (full html and no editor, Better Formats to exclude other text formats), disable the URL-field in both the Manage Display Form and Manage Display.
Thanks
Comment #8
sleitner commentedSpotify introduced a new optional parameter which didn't match the URL regular expression. In the Media Entity Spotify module, this should be the same problem.
Please use the latest 8.x-1.x-dev version with the new regular expression.
Comment #9
hs@henrikstrindberg.se commentedTested the 1.x-dev version and it works!
Many thanks!
Comment #10
sleitner commented