Reputation: 1525
I want to embed multiple youtube videos on pages and want to give the same option to the content creator. I did see the modules apostrophe-oembed and browser-apostrophe-oembed. Can you provide and example for the same? Thanks!
Upvotes: 0
Views: 391
Reputation: 31
With the latest version now in November 2018, all I needed to do was to add 'apostrophe-video': {}
into the widgets list for the apos.area on the page. Adding something to the app.js caused the site to break.
Upvotes: 1
Reputation: 1525
The solution that worked for me is:
'apostrophe-video-widgets': {},
Upvotes: 0
Reputation: 7572
I am the lead developer of Apostrophe at P'unk Avenue.
Try apostrophe-video-widgets
. Works like adding any other widget to an apos.area
or apos.singleton
call. There are no required options.
Just as a reminder, when calling apos.area
or apos.singleton
you just need the name of the widget (apostrophe-video
), not the name of the module that happens to provide it (apostrophe-video-widgets
).
Upvotes: 0