There is no support for referenced entities, video module transcode conversions only work for node entity types(because 'node' entity type is hardcoded in code)
When i add video field in content type then it will work very good. but when i add video field in paragraphs_item then it is giving error "The extension "mp4" of file abcd.mp4 is not allowed for import. Encoding job for Zencoder cannot be created."

When i debugged this issue found that "node" entity type is hardcoded for video transcode conversions. There should be generic code for all referenced entities like paragraphs_item.

I have created a patch for this issue which provides support for all referenced entities.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Yogesh Pawar created an issue. See original summary.

yogeshmpawar’s picture

Status: Active » Needs review
FileSize
5.31 KB

Added working patch to support all referenced entities.

yogeshmpawar’s picture

Issue summary: View changes
navneet0693’s picture

Status: Needs review » Reviewed & tested by the community

Good to go :-)

garphy’s picture

I've got this patch for more than a year in production. I also thinks it's good for inclusion.

Rhino-new’s picture

I've applied this patch on a site where I have video in Paragraph bundles, and it works well with a test video when "testing" radio button is on.

However it doesn't work when I attempt with uploading a new video to the bundle, and test is not on. The URL send to Zencoder to pick up a video file, lacks the name of the video file. I think this is due to the fact that I am using S3 for file storage, but I haven't been able to find the exact cause yet due to lack of any errors in logs.

yogeshmpawar’s picture

@maintainers - please look into this issue.