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.
Comment | File | Size | Author |
---|---|---|---|
#2 | support_for_referenced-2914042-2.patch | 5.31 KB | yogeshmpawar |
Comments
Comment #2
yogeshmpawarAdded working patch to support all referenced entities.
Comment #3
yogeshmpawarComment #4
navneet0693 CreditAttribution: navneet0693 as a volunteer and at QED42 commentedGood to go :-)
Comment #5
garphy CreditAttribution: garphy at ICI LA LUNE commentedI've got this patch for more than a year in production. I also thinks it's good for inclusion.
Comment #6
Rhino-new CreditAttribution: Rhino-new commentedI'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.
Comment #7
yogeshmpawar@maintainers - please look into this issue.