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
- Solutions for generating dynamic javascript / CSS
- Custom single template for a specific category
- How to add a checkbox element to attachments editor with example
- Auto get_header and get_footer on every template?
- Nested comments ignored for max per page in wordpress
- wp_nav_menu sort order?
- How does WordPress decide what template to use as frontpage
- get_option function
- Twenty Eleven home page show only excerpt
- Snippet: Use classes instead of inline styles for text alignment
- Make a custom theme translate-ready
- Set Expiration Date of a Post from the Frontend with wp_insert_post
- How to Handle CSS for Multiple Header header.php Files?
- Resources for a complete beginner to learn to work professionally with WordPress [closed]
- “Cheatin’ uh?” error message on multple theme directories
- How to tell if the user is an admin?
- Is tag default in WordPress?
- “Display Site Title and Tagline” checkbox not working?
- Removing title tags from each page
- How to attach different React Components to different Dom Roots using the new WP wordpress/scripts webpack/babel
- Why is the first query affecting the second query, even after wp_reset_query() and wp_reset_postdata(), but not on the second page?
- Remove Cookies From WordPress Core
- Is it necessary to prefix every css class in a theme framework?
- No Appearance –> Header menu
- Add theme templates for child categories into the template hierarchy
- How to display posts in hyperlink with nested slugs?
- Can’t delete theme
- Force a specific template based on the URL
- Manage base theme with version control?
- How to add a download link to a movie from WP media library?
- Is it a bad practice to use switch_to_blog in the frontend?
- WordPress custom post type permalink: website.com/post-name/post-id
- Using $post->post_name in body id causing error: Trying to get property of non-object
- Execute upgrade-theme with coding
- Can´t access child theme´s scripts dependencies found in parent
- Prefix best practice, should we use framework name or theme name?
- Theme Javascript.php Overwritten Nightly [closed]
- Using page-id-{ID} from body_class() in local dev, versus live staging
- Is there a way to visualize / print out which templates were used to render a given piece of UI?
- How to use widget in a widget-less WordPress theme?
- Unique design inside a specific category’s url
- Rewrite the HTML markup of wp-login.php
- Are there any caveats to compiling all of my theme’s SCSS into the style.css file in the theme root?
- SVG in list-style-image breaks when adding fill
- Alignment Problem [closed]
- Clearing dummy data before launch
- Multiple editable areas
- Converting a static HTML template into a WP theme – How do I specify page content?
- Create new wordpress theme with no need update
- How to display date of blog creation
- Translate a theme with a PO file
- Theming media inserts
- How to update mark-up of a gallery block in a custom theme?
- wordpress script_loader_tag in function.php
- Why not works the search.php file?
- My wordpress theme name isn’t updating straight away
- How do I make my terms for each product display via foreach loop? (woocommerce)
- WordPress Insert ads after every 5th post
- Adding a second logo next to the main one in header
- How to add an image to a theme page template in code?
- Looking to create an “update theme” functionality for a custom front-end dashboard
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- How to get next post and previous post URL in loop, single.php My WordPress 4.9.6
- Import settings from another theme
- Load multiple css simultaneously using functions.php
- bbPress: modifying template for forum index
- Different stylesheet for different pages not working fully
- Can I use WP Multi-site on a sub-domain with a different theme but use all the original site’s posts/pages?
- How to Apply Category Filter to Pagination
- How do I use the add_query_arg function in a template tag like previous_post_link?
- Get all Custom Post Types
- Let users to add any number of input fields in the theme option page
- Does WordPress require that your submitted theme supports multiple menu levels?
- Add custom field to existing meta box?
- Theme Options Doesn’t Work On WP Multisite
- WordPress two sidebar layout or theme
- Standard Way To Do Custom Work Within A Page?
- Subsite theme mystery man replacement with Buddypress on main site [closed]
- Why does the first loop take arguments from the second loop?
- Theme layout for home page [closed]
- Is there any way to show child theme in theme detectors?