I would like to insert captions for the videos I upload to my book, and have them formatted just like the captions for the images.
When I insert a video, the caption is not inserted, even if the video does have a caption in the media library. Once inserted, if I click on it to edit it, there is no field to insert a caption (in contrast with what happens with the images).
I have tried to do it via HTML. Captions for images seem to be inside the HTML tag figcaption and with the class wp-caption-text, i.e.
But I have not been able to use the tag in the editor, and using just the class “wp-caption-text” for e.g. the tag
<p> does not give the same result.
Thanks a lot,