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
- Where to put my code: plugin or functions.php?
- Create a shortcode to display custom post types with a specific taxonomy
- Get first video from the post (both embed and video shortcodes)
- Display custom post type with shortcode
- Add Content to Page without shortcodes
- How can I fix those issues generated by the Themecheck plugin
- Shortcode Displaying Custom Post Types
- WordPress Custom Shortcode Conflicting with Media Library
- Using shortcodes to parse POST request (containing the data from a front-end form)
- Custom Select Query with Custom Post Types
- How can i list custom post type categories?
- IF statement in a do_shortcode
- Should I use custom post types for a front page video feature (vimeo)?
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- Strip shortcode from specific post types (formats)
- Pagination in a Shortcode. Get_next_posts_link not working but get_previous_posts_link works fine right next to it
- 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?
- Is it possible to create a shortcode that will query a post based on taxonomies?
- WP_Query is printing out only one post when posts_per_page is set to multiple
- Get custom posts with certain ids in a custom loop using a shortcode
- Custom Post Type Loop within Shortcode
- Shortcode insertion in tab
- How can I create a custom meta box to add an mp4 video to a page?
- Video Embed with Captions in Turkish
- Shortcode doesn’t display in custom post type
- Add category attribute to custom shortcode
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- How to create shortcode to display custom field value on a custom post type
- How to enable shortcodes in a custom post type?
- Get custom fields from a custom post type with a shortcode
- Shortcode for display posts in wp-editor
- Display Recently Added Custom Post Types with Custom Taxonomy Shortcode
- How to set YouTube video as featured image?
- Get custom post type list for every category shortcode
- oEmbed not working in WordPress
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Custom Post Type Video – Online/Offline
- How to render a custom post type template with custom fields using shortcode
- Form action/link to render a plugin in WordPress front-end
- custom post type category count 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
- Shortcode for CPT post content in a page
- 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 ?
- How to retrieve category of a post in have_post loop?
- Checking if looped item has a parent inside a shortcode
- get_post_meta is not working inside shortcode
- the_post() is printing titles in page footer
- Add custom attributes to a post
- 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]
- Filter content in shortcode
- Shortcode with WP_Query more than once on one page
- 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
- Shortcode / WP_Query in post changes context
- How to display class name in this shortcode post query
- Custom Post Type or Shortcode, What to choose? [closed]
- Modify a plugin function output from another plugin
- Problems making shortcode with custom post types and taxonomy
- Using Custom Post Meta Values in Shortcode
- Why is my custom post query shortcode only showing 1 post?
- display custom portfolio tags
- Content in WP Editor displayed below CPT shortcode [duplicate]
- How do I output a list of a specific post type in a table?
- Shortcode in pages or tempate files for custom post type
- How to make post templates to include shortcodes only?
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- php dynamic content inside shortcode
- How to show Custom Post Type – Case Study using Shortcode & ACF
- Alike Shortcode using in Custom Shortcode
- Show in an entry a Custom Post Type associated to a post
- Create a CPT to edit Shortcodes Atts
- Display CPT Category List as Shortcode
- Can Someone help me to create Short Code for displaying a category posts