This might help. On the YouTube video page, choose Share, then choose Embed, then choose Show More. Remove checks in boxes for “Show Player controls” and “Show Video Title and Player Actions.” Choose largest given width size or custom size that is equal to or slightly greater than your div container width. Copy the code. Paste the code into your post, then change the width number to width=”100%” and adjust the given height number until it works well on preview post. (You need an absolute height number. Setting height to “auto” or to a percentage won’t work.)
(No experience with autoplay.)
Related Posts:
- Do_Shortcode not working for Embed
- Implementing “Video of the Day” Feature?
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- You tube videos Appear Different Dimension
- Create a shortcode to display custom post types with a specific taxonomy
- Display custom post type with shortcode
- Add Content to Page without shortcodes
- How can I fix those issues generated by the Themecheck plugin
- WordPress Custom Shortcode Conflicting with Media Library
- Using shortcodes to parse POST request (containing the data from a front-end form)
- How can i list custom post type categories?
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- Why does using WP_Query inside a shortcode in an elementor page cause the arguments for WP_Query to get malformed?
- Generate Shortcodes by Taxonomy
- Getting a thumbnail for an external video as the thumbnail for a custom post type?
- How would I create a shortcode to display a custom post within a page or regular post?
- WP_Query is printing out only one post when posts_per_page is set to multiple
- Shortcode insertion in tab
- How can I create a custom meta box to add an mp4 video to a page?
- Shortcode doesn’t display in custom post type
- Add category attribute to custom shortcode
- Shortcode for display posts in wp-editor
- Display Recently Added Custom Post Types with Custom Taxonomy Shortcode
- oEmbed not working in WordPress
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- How to render a custom post type template with custom fields using shortcode
- Display Child Pages of Custom Post Type Parent Page
- Shortcode to display Staff post type based on Location post type and Specialty post type
- How to apply an ID to Shortcode Embedded iframe
- wp_reset_postdata() and wp_reset_query() inside shortcode are not working to reset original page query
- Next Post links not working in custom post type shortcode
- Foreach inside shortcode not working as planned
- Can a shortcode included in post content add styles to the ?
- Checking if looped item has a parent inside a shortcode
- get_post_meta is not working inside shortcode
- Shortcode leaves no space for other elements?
- How can I add a shortcode to query Custom Post Type with ACF in WordPress?
- Custom shortcode works in Elementor editor but not on frontend
- Get Posts by Category, Tag , and CPT Taxonomy
- post_type internal ID?
- Custom post type Shortcodes wordpress
- how to create custom post type with dynamic category_name using shortcode
- Add shortcode inside of the_content()
- WordPress Custom Post Type and Shortcode for Portfolio Items
- Run shortcode in custom script in wp_head if post type is CPT ‘Jobs’
- Creating shortcode id for custom post types
- Shortcode is displaying the content on top of the page [duplicate]
- posts within custom post type all share the same content in the front-end
- Shortcode to return single custom post based on post taxonomy
- Change post type depending on shortcode
- Custom Post Type for Shortcode Use – Prevent it display as a post (with slug)
- How to call a post’s metadata in shortcode.php?
- Trying to write shortcode with get_post_meta but isn’t working
- How to display class name in this shortcode post query
- Why is my custom post query shortcode only showing 1 post?
- display custom portfolio tags
- How do I output a list of a specific post type in a table?
- Shortcode in pages or tempate files for custom post type
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- php dynamic content inside shortcode
- Show in an entry a Custom Post Type associated to a post
- Create a CPT to edit Shortcodes Atts
- Can Someone help me to create Short Code for displaying a category posts
- Custom post type shortcode
- background featured image display using shortcode
- How can I use javascript in specific posts without relying on a plugin?
- Cannot display the_content() after removed WordPress 5’s auto embed feature (iframe & blockquote)
- Why can’t I filter my CPT shortcode by category?
- From CPT Custom Loop into Shortcode?
- editing shortcode for custom post type within a plugin
- Button link display in shortcodes using custom field in ACF
- Custom Post type shortcodes
- Custom post type shortcode with taxonomy attribute not working and no errors
- Videos Post Type with Custom Filters
- WordPress post not executing shortcode until updated
- Display Custom Post Type Archive content with Shortcode
- Load custom post type with ID in a shortcode
- How to seperate posts by categories?
- Display a list of sub-pages of Custom Post Type Parent Page
- Shortcode in excerpt
- Ads below footer
- Shortcode error
- Custom Info Box at end of posts?
- Custom Post Type vs Shortcode: Which one is more performant?
- How to call Shortcode categories for custom post types?
- adding a shortcode into a custom post type
- Nested loop called with shortcode duplicating the content above the main loop
- Add number in increment of one to DIV ID
- Create shortcode for list of custom post titles with custom fields alongside
- Creating shortcodes with user created forms
- Adding custom shortcode to page leads to page without styling
- custom post types shortode stays on top of other page contents. Is there a bug?
- Rewrite a filter as shortcode (or something like that) to use anywhere in CPT
- Shortcode in a page to display custom posts which also have a shortcode in them
- Passing postid of Testimonial Custom Post in Shortcode Parameter
- Display page and custom post title inside shortcode
- trying to display custom post type with custom taxonomy value by shortcode can’t works [closed]
- Problem with shortcode
- Display custom post type attached media file sizes
- select categories by ids/display terms only selected