Media Integration
Hi there :-)
User story
We need Media in our crowd invest platform which we will build on top of Hubs4Change and Drupal Commerce during August & September.
Background
Is it interesting to ship it in Drutopia beta1? Or in a later Drutopia version?
As I´m reading all your notes occasionally, I now that you decided to not switch for now, when you discussed the Video Embed Paragraph (at this point it was not clear, that we´ll build the project on top of Hubs4Change). As we will have to switch now, we just want to check, if it is relevant for Drutopia.
Proposed solution
We thought about
Media types with corresponding Paragraph types
- media_image
- media_file
- media_video_embed
- media_audio_embed
Slideshow Paragraph
in a media_gallery paragraph type with a multi value media field for the above media types. For us this would be Slick based by default. We might expose different Formatters to the user with Formatter Field. As this depends on a set of other libraries, this could go into a separate project if needed. But I think it is a nice feature for every website.
As far as I remember we would only have to delete image and file paragraph from drutopia_core
, if we want to replace it and it would be usable in all Drutopia projects. (?) If we keep the machine names as above, the existing paragraph types could live parallel though.
We did not planned to touch the image field for now
Remaining work
-
check if it is interesting for Drutopia beta release or on long term (Drutopia) -
if yes: check what it needs to fit Drutopia standards (Drutopia) -
implement it for Drutopia or for Hubs4Change only (Hubs4Change)