Need help adding Captions to Images and Videos

  • Unknown's avatar

    I’m trying to add a caption to a video and when i preview the post my caption gets cut off. Here’s the code

    [caption width="600" caption="I linked this instead of highlight because this game has no highlights"][embed]https://www.youtube.com/watch?v=xS2Dr2MI3_k[/embed][/caption]

    The blog I need help with is: (visible only to logged in users)

  • Hello there,

    Here is a direct quote from the WordPress.com support documents regarding codes that are not permitted:

    If you are familiar with HTML, you’ll notice that codes such as embed, frame, iframe, form, input, object, textarea and others are missing from the above list. Those codes are not allowed on the Premium Plan and below for security reasons.

    The embed code that you are adding in your code is likely the reason it is not working properly.

    Here is a great link to help you add a YouTube video in your post, because you are in the editor you can also add the caption above the video if you wish: https://en.support.wordpress.com/videos/youtube/

    Hope this helps to answer your question.

  • Here is the link for the codes allowed/not allowed on WordPress.com: https://en.support.wordpress.com/code/

  • The topic ‘Need help adding Captions to Images and Videos’ is closed to new replies.