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
- Featured image shortcode
- Make a video post redirect to next post after completion
- How to display a user’s bio (not the author or logged in user)
- Is there a way to define a default caption to all uploaded images
- How to limit post content and remove image caption from it
- Show Subcategory Description
- Add extra class to wp-caption?
- how to add new .webm mime types
- How to display a description of a given category from a custom taxonomy
- Displaying a custom taxonomy term’s name & description
- Escaping Quotes
- Video shortcode – autoplay all videos
- Add title, post content, and category like add_post_meta and update_post_meta
- Is there a built in function to see if a URLis oEmbed Compatible?
- Automatically add image caption with values from a post parent field?
- How to add a download link to a movie from WP media library?
- How to import my YouTube channel into WordPress?
- Show preset taxonomy description
- MP4 video on wordpress working on desktop, not on mobile devices
- How can I echo og:video url, if the post has video content?
- Forcing max-width for image captions
- Client system for media review?
- Upload restrictions – upload_mimes – filter: Adding multiple MIMEs for a single extension and adding multiple extensions for a single MIME type?
- Clean links in: the_author_meta(‘description’)
- Display site description instead of site name
- “Item not updated” when try to change category properties
- wp_insert_term does not insert description. [closed]
- Displaying caption with featured image
- How to Get The Excerpt of the page that displays Blog Posts
- how to hide empty fields of post category description?
- Shortcode function doesnt work without caption
- Add div on EMED Tag
- Custom field as featured image caption
- How to get the_post_thumbnail caption?
- Allow users to upload flash videos?
- Is there a way to auto generate poster image for videos
- Hide download option video shortcode
- How to hide description on categories and tags?
- How to display category and tag descriptions in a post
- How do you change the site preview description/thumbnail
- Videos Post Type with Custom Filters
- Trying to update the meta description of the home page
- HTML code in WordPress menu description
- Render Shortcode in Lightbox Gallery
- Assign a default description to new terms under a custom taxonomy
- Categories Help and video uploads
- how to embed a .mp4 video the url postfix with secret key
- Displaying “alt” attribute text as captions?
- How do I change the woocommerce product gallery to show all thumbnails instead of three at a time in a carousel?
- Automatically Add Caption Shortcode to Image with Caption Field Filled In
- Dynamically adding Captions to images
- Have video content populate page from upload sub-directory?
- Configuration Options for embedded YouTube Videos
- Force resize for all video content
- Wrap a post image with a div if it doesn’t have a caption