Hi All,
When using the brightcove module in conjunction with paragraphs the autocomplete and browse functionality don't show up. What happens is that the $entity_type variable gets set as "paragraphs_item" when the widget HOOK gets fired and the brightcove widget is nested in a paragraph. Normally the brightcove field widget is expected to be embedded on a node, so that variable ends up being "node" instead.
That variable is then used to construct an autocomplete path URL, and in typical drupal fashion that URL is broken down as page_access arguments in HOOK_menu. Since 'paragraphs_item' is an invalid argument the constructed url for autocomplete and browse fail to work.
What I have done is made the brightcove module aware of the 'paragraphs_item' entity type, and I have it translated to the 'node' entity type which corrects the problem. Although I am not 100% certain this is the best way to correct this issue.
Attached is the patch that I worked on to fix the problem.
Closed: outdated
6.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.