Video block in inner block

Hello everyone,
Despite my research and tests, I cannot find a solution to display a video from the Wordpress library as I could do with an image in a block.

Inner block does not work because I am already in an inner block.

This is my html template

The video : autoplay and muted

With a trigger in alpine js the video is with sound in full screen.

I think i’ll have to learn create block…

If you have a solution, it would be great.

Thanks a lot.

Vincent.

@Vincent you can create a custom block that contains video element, and has src attribute defined as a editable Block attribute. The best place to start learning about custom blocks is Build your first Block interactive tutorial in Pinegrow.

2 Likes

Thanks Matias,

I think I’m not looking where I need to…