• Resolved greentreefrog

    (@greentreefrog)


    How do I add a <figcaption> to a video? Since the HTML generated includes <figure>, I am thinking that for accessibility, <figcaption> would be better than simply placing a heading or paragraph text above or below the video.

    By the way, EmbedPlus for YouTube magically fixed a problem I was having when trying to embed more than one video on the same page – even for the videos embedded prior to installing your plugin. So if I can just figure out how to add a figcaption below each video in a page full of videos, I will be ecstatic!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter greentreefrog

    (@greentreefrog)

    I figured out a fairly easy workaround:

    • Embed the video.
    • View the page
    • View the page source
    • Copy the HTML into an HTML block
    • Insert <figcaption>You text here</figcaption> just before </figure> (or just after <figure>, depending upon where you want it)
    • View the page again. The video should now be there twice, the second time with the caption.
    • Remove the embed block (but not the HTML block)
    • This reply was modified 2 years, 7 months ago by greentreefrog.
    Plugin Author embedplus

    (@embedplus)

    Glad you got a workaround. We can explore this idea further.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘figcaption’ is closed to new replies.