It will be interesting to see how the new evolving WP Gutenberg editor will handle shortcodes and embeds.
If you use the shortcode for embedding, then a semi workaround, without UI support:
where the custom desc
attribute is supported with with this kind of wrapper:
add_filter( 'embed_oembed_html', function( $return, $url, $attr )
{
if( ! isset( $attr['desc']))
return $return;
return sprintf(
'<div class="oembed-wrapper">%s<span>%s</span></div>',
$return,
esc_html( $attr['desc'] )
);
}, 10, 3 );
You would then need to adjust it further with some CSS.
ps: there are ways to add UI to shortcodes, like the Shortcake plugin.
Related Posts:
- Generating Thumbnails for video
- Managing and Playing Large videos
- How I can get image description/title/alt for gallery image?
- WordPress 3.1: Videoplayer implemented?
- oEmbed vimeo with add_query_arg parameters not inserted to HTML
- Add video from youtube in post
- Vimeo videos not working
- Best Practices for Video Uploads to WordPress
- How to use the new wp_read_video_metadata function
- PHP code to call image Caption, Alternative Text, and Decription?
- Showing image description along with embedded links below post images
- oEmbed not working in WordPress
- How to play amazon S3 videos in wordpress 3.6?
- Viddler oEmbed not working with specified width
- How to create thumbnails in wordpress with jwplayer
- Problem with JWplayer. Video is missing?
- WordPress 3.6 Video shortcodes in template
- How to play a video without using plugin?
- How to embed local video in a wordpress post
- Adding video to a WordPress website [closed]
- tags disappear on pages (but not on posts!)
- Are self-hosted videos a good idea? [closed]
- VideoJS in a Widget?
- How to add a download link to a video from WP media library?
- Optimal method for organizing videos by topics discussed?
- Uploaded video store in video folder
- How do I add “live thumbnails” or slideshow like thumbnails?
- WordPress 5.2.1: Embed video is not working. Showing video link on fronted
- Problem with video url from ad manager
- Cant play videos
- Slider Revolution video on autoplay doesn’t start
- Video link not working in Internet Explorer
- Hide video & make a clickable play button icon on header
- Different custom header video on different pages
- Update a Post after a user uploads a video
- mp4 video preview
- Page will only display first 6 videos
- Find Videos Inside a Post
- How to fetch all videos in custom page which uploaded in wp-admin (Media) in wordpress
- How to Insert Self-Hosted Video in WordPress Post
- Videos in posts are not rendered
- Resizing built-in wordpress video not working! [closed]
- Remove lines in video
- Strange video appears in background on Safari only [closed]
- Video header works only on previews, but not on published pages
- videojs – No compatible source was found for this media in wordpress app
- My website suddenly won’t play any videos
- Get Image Description
- Setting a post’s featured image from an embedded YouTube video
- make WordPress image captions responsive
- Do_Shortcode not working for Embed
- Remove the category/taxonomy description field?
- Multi user site and image captions
- How to have different captions for same image, for galleries?
- Get first video from the post (both embed and video shortcodes)
- Featured image shortcode
- Are captions stored anywhere?
- Replace audio/video enclosure with player?
- Text editor on WP caption [closed]
- Admin Filter – Add Post Type Description on Post Type Page
- Implementing “Video of the Day” Feature?
- Make a video post redirect to next post after completion
- How to remove a empty in wp caption shortcode?
- How to wrap WordPress image captions inside H2, H3 tags?
- getting video dimensions
- Remove image caption from post excerpt
- How to display a user’s bio (not the author or logged in user)
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- Getting a div content of a post in wordpress?
- Videos via the video shortcode are always 640px wide?
- Show Video in Excerpt
- Show menu item description with line breaks
- How to add new embed handler not supported by oembed
- How to handle valueless attributes in shortcodes?
- Is there a way to define a default caption to all uploaded images
- How to overwrite youtube embed?
- Shortcode content does not show in feed discription/excerpt
- How to add a link in a image’s caption?
- WP REST – video and audio players
- Alter media caption/description conflict in WordPress?
- Multi-line captions on attachments
- How to display a shortcode caption somewhere other than the_content
- Caption in Page adding unwanted 10px to width
- How to limit post content and remove image caption from it
- Protecting HTML5 video [closed]
- show term description instead of list terms of custom taxonomy
- Nested Shortcode Inside [caption] Doesn’t Process
- How can I get the [video] shortcode to allow query string parameters?
- How do I control video media display sizing with native wordpress player
- Category Descriptions – HTML?
- Add visual editor to Media Edit Screen
- Update caption for metabox gallery images
- How to show post format gallery metabox image caption in the post front end
- Get image captions for images on gallery post format metabox
- Get post embedded image caption
- How can I add a default description to uploaded files?
- Adjust image caption within visal editor
- Show Subcategory Description
- Drag images with caption in WP editor
- How to display term description in empty terms archive?