Gutenberg Youtube embeds
-
Couple of questions about YouTube embeds with Gutenberg.
Ideally, I want a cover block, which you can embed a Youtube video in, which allows for autoplay, mute etc to be passed through.
It seems like:
1 – Cover doesn’t allow embeds.
2 – Embed doesn’t allow autoplay or other paramters to be passed in. They just disappear.
3 – If you use an html block, the ampersands are converted into this sort of thing: https://www.youtube.com/watch?v=xxxxx&autoplay=1&loop=1& and they don’t take effectTo get around it, I’ve written a bit of code to filter on the core/html and replcate the src tag with in that has the right params in, but this is messy!
Does any one know of a cover block from a plugin library that will do this for me? Am I just being daft and missing something obvious?
- The topic ‘Gutenberg Youtube embeds’ is closed to new replies.