When I want to embed a video on a WP post I use the html5 <video> tag. It’s very simple to put into the html code and is much like the <img> tag. W3Schools breaks it down for dummies. Here is their sample code:
<video width="320" height="240" controls>
<source src="https://wordpress.stackexchange.com/questions/259420/movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Related Posts:
- How to add CSS class to custom logo?
- Editing the custom background CSS
- How to add default images for custom backgrounds?
- Add colors to existing color palette without replacing it
- What flex-width/height does?
- add_theme_support(‘my-custom-feature’)
- add_theme_support( ‘custom-header’ ) does not add option menu in dashboard
- “add_theme_support” for custom footer color?
- How to add theme support?
- Edit footer via customizer
- Theme Development: Starter Content after hook
- Can I add multiple arrays within add_theme_support( ‘colors’ )?
- How to use add_theme_support(‘html5’)?
- Theme support title tag – how to replace the default WP separator (with a filter)?
- WordPress HTML5 Gallery Support – Convert HTML4 -> HTML5
- add_theme_support( ‘admin-bar’ ) causes fatal error
- What is difference between add_theme_support and Theme Customization API?
- Replaceing _custom_background_cb
- Theme’s featured image option is not showing up
- Why is wp_head() creating a top margin at the top of my theme header?
- How To Add New Option Types To Option Tree?
- How to limit wordpress menu depth in admin panel
- How can I set image sizes and still have responsive images using the srcset attribute?
- Possible to “Attach” images to multiple posts without inserting or uploading twice?
- Trigger Customizer saving process with Javascript only
- Comment form not display properly?
- How to add menu support to a theme?
- Moving functionality from functions.php to classes?
- Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying
- Extend walker – navigation, adding data attribute to a tag
- How to display category specific post content on a page
- Enqueued Stylesheets Effecting Admin Styles
- Gutenberg Reusable Block as part of WordPress Theme page
- Why is $GLOBALS[‘content_width’] needed if site is responsive?
- Does WordPress count as a means to learn web development? [closed]
- current-menu-item class not working
- Prevent theme from activating [duplicate]
- Messing up with transient API – getting flushed on refresh
- Correctly using wp_head()
- Theme development question regarding layouts
- Parse error: syntax error, unexpected T_ENDWHILE in
- Multiple Page Templates & CSS
- Divi Child Theme not appearing in “Themes” [closed]
- Where can i design and modify a new mail template for sending emails to users when commenting?
- How can I wrap html around the output of the_time function?
- Problem with empty class attributes when running a filter on nav_menu_css_class
- Limitations when modifying wp_title with a filter
- Pass variable to hook. Its possible?
- Adding custom class to get_avatar() image doesn&https://wordpress.stackexchange.com/https://wordpress.stackexchange.com/#39;t work
- Font Awesome 5 Free – far working but fas is not? [closed]
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- The ‘default’ attribute from $wp_customize->add_setting() method not in db?
- Multi-page posts: A subdirectory for each post?
- Remove “You are using WordPress 3.2.1” from Right Now Dashboard Widget
- How do I get the trackback count of a post in wordpress without writing an SQL query?
- Call to require(‘../../../wp-blog-header.php’) results in 404 error?
- Where do files uploaded via Media Manager get stored in MU?
- How to add menù section to my WordPress template?
- customize theme with get_template_part() [closed]
- What is the need for the static front page [closed]
- Do translation functions like __e() have to take strings in English in themes?
- How to add post meta fields to an article’s as meta elements
- Callback Function Not Firing On Selection In Media Uploader
- How add built-in textarea in theme development?
- Pagination fuction in shortcode always displays on top
- tag__in does not return posts
- Add content after get_header
- Filter didn’t work on content class (hybrid_post_attributes)
- How to remove bullets from widget
- Pagination don’t work with active filters
- Theme has disappeared
- wanted to sort the wp_query array by two ACF field (Year and month)
- Created blank theme for REST API, featured image not appearing on admin side
- Alt header logo and link for specific pages
- Custom php template file only for mobile
- which template should I use for single category post?
- annoying “Confirm Form Resubmission” message
- Testing localhost WordPress site over LAN with iPad, iPhone
- Make page accessible from another URL
- Any way to permanently translate themes?
- Fallback dosen’t work when not using ‘menu’ attribute
- Reliable method to detect mobiles
- Using require_once for parent-directory not working but is working in sub-directories
- WordPress get number of categories
- Add social media icon in header area
- issue displaying variations in custom template using WPeC 3.8.9.2
- Problem using $var for shortcode attr value
- How to save checkbox choice in wordpress
- How to disable edit link button bottom of the page for all users except Administrator
- How to output wp_enqueue_style() in HTML head instead of footer
- posts stuck as drafts
- Is it ok if I use this tag?
- What’s your workflow for converting a static HTML website to WordPress? [closed]
- TItle In Latest Post is not using H1 Tag [closed]
- Is via.placeholder.com a good site to auto-generate placeholder images?
- Should we escape the values of constants?
- Style categories block in query loop
- Why is wp_nav_menu() not removing the container around the nav ?
- What is best practice when escaping the_title()?
- If necessary, how should wp_get_attachment_image() and its parameters be escaped?