[wp-trac] [WordPress Trac] #62680: YouTube embed doesn't let me add a caption

WordPress Trac noreply at wordpress.org
Wed Jan 15 18:34:28 UTC 2025


#62680: YouTube embed doesn't let me add a caption
--------------------------+----------------------
 Reporter:  bikegremlin   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  6.7.1
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  close         |     Focuses:
--------------------------+----------------------

Comment (by davidtheplumber):

 Replying to [comment:4 usmandev000]:
 > Another one: If the caption option is missing, switch to a Custom HTML
 block. Add the video using the iframe embed code and include a caption
 below it. Example:
 >
 >
 > {{{
 > <div>
 >     <iframe src="your-video-url"></iframe>
 >     <p class="video-caption">Your Caption Here</p>
 > </div>
 >
 > }}}
 > Add CSS for .video-caption to style it as needed.
 >

 Thanks for this bro, by the way these are working great on custom sites
 rather then the websites built on wordpress.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62680#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list