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.
When trying to upload a video file directly from my Drupal site to BrightCove its showing rendition issue in BrightCove studio.
Steps to replicate the issue
- In node edit page selected a raw video (.mp4 file in my case) from BrightCove media browser interface (Under Videos tab "Upload video" section)
- Chosen a thumbnail and a poster images as well
- Populated Name and Short Description
- After clicking "Upload and attach" form submitted without any error(pfa error_in_client_site.png) and showing next screen to select player options
- On submit showing the video thumbnail in client Drupal site with "The Video Cloud video is not playable" error message
- BrightCove studio page is showing all the Metadata has been updated and video entity has been created but with an error "No renditions are available" for the video (pfa error_in_bc_studio.png)
- Thumbnail images are also not rendering in the BrightCove studio page along with the video itself
Can you please let me know what can be the issue here. I'm using all the necessary required modules along with the "PHP-API-Wrapper" library. Using BrightCove video and playlist are working properly in my setup and only exception is video upload to BrightCove.
Comment | File | Size | Author |
---|---|---|---|
no_rendition_generated.png | 314.51 KB | suvasish.manna | |
error_in_bc_studio.png | 822.31 KB | suvasish.manna | |
error_in_client_site.png | 163.26 KB | suvasish.manna |
Comments
Comment #2
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedSince the thumbnail and poster images are also not appearing in your Brightcove Studio, the most likely issue is that your Drupal site is not publicly accessible - as per this requirement:
Please verify that the videos/thumbnails/posters uploaded to your Drupal site (by default located in sites/default/files) can be viewed and/or downloaded using a device or connection originating outside of your network.
Comment #3
gmv CreditAttribution: gmv commentedThanks @jan.mashat! Does the brightcove services have an ip address range or a user agent string that we use in our
.htaccess
to allow brightcove through our basic auth?Comment #4
suvasish.manna CreditAttribution: suvasish.manna commentedThanks Jan. The reason behind the issue was our files(video, thumbnail & poster) were getting saved in Drupal private file system path which is not accessible to outside world. Brightcove module is using the 'file_default_scheme' method which in our case will always be private as we can't keep our default file system path as public.
So is there any way to make it working by keeping the default drupal file system path as "private"?