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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

suvasish.manna created an issue. See original summary.

jan.mashat’s picture

Title: Video Upload Rendition Issue » Video Upload Issue
Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

Since 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:

For uploading to work with versions 8.x-1.x and 7.x-6.x, your Drupal site needs to be accessible from the internet (public IP address or port-forwarding enabled) because Brightcove will need to fetch all uploaded video/image/caption files from your Drupal site.

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.

gmv’s picture

Thanks @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?

suvasish.manna’s picture

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