How can we load up videos in a more declarative way?
At the moment, we have markdown for page content. then use IDS in divs etc to determine what video to place in the given element. this requires code to be added for every video we have on the site.
How can we load up videos in a more declarative way?
At the moment, we have markdown for page content. then use IDS in divs etc to determine what video to place in the given element. this requires code to be added for every video we have on the site.
We could improve this by having something like:
markdown file
corresponding handlebars template would have:
thoughts suggestions?