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.
The Brightcove module now has a 6.x branch that adds support for multiple accounts, players, etc., as well as turning the Brightcove Clients, Videos and Players into separate entity types. This module needs to be updated to work with the new API provided by Brightcove 7.x-6.x.
Comments
Comment #2
fabianderijkI've got the same issue. Is there any timeline available when this version will be ready?
Comment #3
q0rban CreditAttribution: q0rban at Lullabot commented@fabianderijk, no there is no timeline. The Brightcove API from 5.x to 6.x is drastically different, so the upgrade is non-trivial.
Comment #4
Jayaher CreditAttribution: Jayaher commentedWe have already used drupal brightcove 7.x-5.x version module. Now we need to upgrade the latest brightcove 7.x-6.x module version.
How to upgrade the latest brightcove version into existing one?
Please advice.
Comment #5
sleepingmonkHey q0rban,
The upgrade is definitely 'non-trivial'. Just wondering if any work has been started on it that's not reflected in the commit log. Or if the maintainers have the intention starting an update in the near future.
Any info appreciated. Thanks for a very useful module!
Comment #6
q0rban CreditAttribution: q0rban at Lullabot commentedHi sleepingmonk!
There are currently no plans that I am aware of to upgrade this module for compatibility with the 7.x-6.x branch of Brightcove. Are there features in 6.x that you need? The 6.x branch takes a radical departure from normal handling of file-like entities such as videos by creating new entities for videos, instead of using the File entity. This may prove to make integration with Media module nigh on impossible, but even if it is feasible, the upgrade path alone for this change is enough to send the bravest of developers running. :)
Comment #7
sleepingmonkThanks for the insight q0rban! Looks like we'll have to work out how to migrate existing video content (as file entities) to the new entity type(s).
Comment #8
sleepingmonkHey q0rban,
Just wanted to let you know I'm starting work to make this compatible with Brightcove 7.x-6.x.
Comment #9
sleepingmonkAttaching a first pass against 7.x-2.x. Probably needs to be a 7.x-3.x branch?
This works with Brightcove 7.x-6.x module.
Only works with video embed through the wysiwyg, so far.
Comment #10
q0rban CreditAttribution: q0rban at Lullabot commentedThanks for working on this, @sleepingmonk! With something as big as this, I wonder if we should copy the repo to GitHub and create a Pull Request. Thoughts?
Comment #11
sleepingmonkI'm open to that. I'm sleepingmonk on github too. Let me know if you put the repo up and I can make a PR.
Will you make a 7.x-3.x branch for compatibility with Brightcove 7.x-6.x?
Comment #12
q0rban CreditAttribution: q0rban at Lullabot commented@sleepingmonk:
https://github.com/q0rban/brightcove_media
Let me know if that works for you! :)
Comment #13
sleepingmonkThanks @q0rban I'll get a PR up there soon!
Comment #14
sleepingmonkA few fixes from the previous patch.
Comment #15
sleepingmonkFor some reason the patch in #14 lost data...
Comment #16
artofeclipse CreditAttribution: artofeclipse commentedHello,
I have done some more extra work on @sleepingmonk patch, this patch apply to 7.x-3.x* and 7.x-2.x* but I think we should add new dev release.
Attached is my changes to the latest by @sleepingmonk.
Thanks.
Comment #17
q0rban CreditAttribution: q0rban at Lullabot commentedThanks @artofeclipse! Can we please work on GitHub due to the size of this work? https://github.com/q0rban/brightcove_media
I think @sleepingmonk's work is up to date here? https://github.com/q0rban/brightcove_media/pull/1
Comment #18
artofeclipse CreditAttribution: artofeclipse commentedAdding latest patch version to make it possible to include in build script.
Comment #19
sleepingmonkRe-roll for latest dev.
Add a check for empty $video in brightcove_media_file_formatter_image_view() which causes a PHP Fatal error if a video is not loaded (i.e. removed from brightcove).
Comment #20
vijaycs85More update at https://github.com/q0rban/brightcove_media/pull/2
Comment #21
tamasd CreditAttribution: tamasd at Pronovix commentedThanks for all the work, I have implemented the new integration as a part of the brightcove module. It will be released as the part of the 7.x-6.5 release soon.
Comment #22
vijaycs85awesome! thanks @tamasd.
Comment #23
q0rban CreditAttribution: q0rban at Lullabot commented@tamasd, so are you saying that Brightcove Media module will not be needed for Brightcove module 7.x-6.5? If so—awesome! I'm curious, though, how will you be handling the upgrade path for this module to that version (since the Entity API content model is completely different)? I think that needs to be answered in this module before this can be "fixed" here.
Comment #24
tamasd CreditAttribution: tamasd at Pronovix commentedThe brightcove media module has been moved to the brightcove project, it is still a separate submodule.
I didn't do anything with the entity content model. This is a straight port, if you use the brightcove field and the media integration at the same time, then you will store references to a given video in two ways. There is no easy way to migrate the brightcove field to media.
The upgrade path from brightcove_media-1.x -> brightcove_media-2.x -> brightcove_media inside the brightcove module should work, it is being tested at the moment.
Comment #25
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedI would like to consolidate any discussions around the new media support in 7.x-6.x-dev, so please share your test results and any issues here: https://www.drupal.org/node/2875335