I added this to my style.css and now the video player is fully responsive!
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
width: 100% !important;
height: 100% !important;
}
.mejs-container {
padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
max-width: 100% !important;
}
video.wp-video-shortcode {
position: relative;
}
.mejs-mediaelement {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.mejs-controls {
display: none;
}
.mejs-overlay-play {
top: 0;
right: 0;
bottom: 0;
left: 0;
width: auto !important;
height: auto !important;
}
Related Posts:
- Divi – How can we show background video on mobile
- How does mediaelement.js work in WordPress?
- How to load mediaelement.js in theme template?
- WordPress API Menu/Submenu Order
- What is the difference between wp_register_sidebar_widget and register_widget?
- How to enqueue script if widget is displayed on page?
- How to move page templates to custom folder?
- Are the WordPress Core CSS styles really all nessesary?
- Plugin for custom sort order for categories?
- Setting multiple default background images?
- How to make a theme with more than one CSS file?
- Is it feasible to build and update a WordPress website offline?
- How to edit an existing WordPress theme? [closed]
- Where is default wp_head() implemented?
- How do I hide tags that have only been used once?
- Questions about WordPress.org theme review
- Excluding categories from “Manage Categories” using a get_terms filter
- Translated strings not appearing – what am I missing?
- Feature Survey – What would you want in a resume theme?
- Can I upload WordPress-react theme in Wp theme repository
- the_excerpt() not showing manual excerpt for Pages
- How should I store global information such as a phone number so that it is editable through the CMS?
- Select front page and blog page in custom theme settings page
- What are the Theme tags in style.css used for?
- WordPress nav_menu_css_class theme filter is not being called
- How do I locally enqeue the mediaelement.js file into a wordpress theme
- Cannot get full thumbnail size using the_post_thumbnail
- Version control for both Vagrant config and themes being developed [closed]
- Is there a way to activate different theme for specified users? [closed]
- Theme change only in CSS and a few images
- wp_editor() usage in custom meta box
- current_user_can Not Always Working Properly
- Is there an action for save_menu and/or update_menu?
- Does a premium / for sale theme need to go through the WordPress approval process?
- Excluding Pages not working
- filter out “uncategorized” from all category listings with one filter in functions.php?
- Can’t select my block by clicking on it
- Is it possible to use Twitter intents with the post’s image in WordPress?
- How to make the excerpt_more filter apply to the actual post excerpt?
- How to add a user defined hyperlink to the “Featured Image” and the_post_thumbnail()
- Using PIE CSS in WordPress. “localizing” styles
- Category specific themes?
- Default image size not working
- Missing tested up to on readme text validator
- Change locale by detecting viewer’s browser language setting and let them choose prefered language after
- Why is it needed to enqueue parent stylesheet in child theme?
- Posting page on all subdomains
- WordPress Unite Theme: Footer isn’t sticking [closed]
- How to set a correct $content_width when there are two content widths on one page?
- Limit number of users a role can create
- How to enqueue javascript for WP Customize options sidebar?
- Do not display post images on front page
- Customize how a WordPress theme looks like in the Theme Selector
- Change WordPress header color using customizer
- Default Text not showing from customizer
- Images not showing after path specified in header.php
- How to set wp_options in functions.php for removeing the Default Front Page
- Template for landing pages
- How to Manually Code Shortcode?
- How to show a manageable list of images on a post?
- Where does the uploaded image go?
- Remove link on full-size images
- How to reset post data properly
- Theme options save routine clashes with plugin save
- get_search_query() not working with search queries with ampersand in it
- Where to put custom page templates in theme?
- If user is logged in and has a role echo statement
- Fixed button and slideshow in template upload per page
- Let user to add input fields on theme option page
- Non-standard (new) theme file
- Best Practice for Server Processing
- MapPress Easy Google Map in Jquery Tabs Problem
- Homepage slider not using correct images
- WordPress Show Single Post on Home Page with previous/ Next Button
- Is there any way to store single.php wordpress file into a php variable
- How to change listing type permlink?
- WordPress theme header.php should I add title meta?
- Fatal error: Class WP_Customize_Image_Control not found
- How do I remove header/page-title image in farvis theme? [closed]
- Menu is in Reversed order
- Which theme PHP file should be edited in order to change Posts appearance
- How to connect two child themes on different sub domains to the same base theme
- Group several custom global page templates in sub-folder
- How to hide blog by id wordpress multisite listing
- Should I detect the device or the page first?
- Get chronological page order
- Query wp_postmeta into an array based on post_id
- Theme not uploading showing maximum upload size on live site
- How to override wordpress native options with theme options
- Best way to access variables in template markup
- How do I get my theme scripts to load in a custom theme built from Bootstrap
- Problem with multiple menus in theme
- How to convert that page to a wordpress template? [closed]
- JQuery Equal Height in Rows Conflicts Only Works without Registering wp_footer();
- Saving Permalinks Results in 403 MAMP (Windows)
- Add rel to all images in a post
- WordPress theme Modifications not showing up on live server
- Incorrect sidebar showing on WooCommerce Store page [closed]
- Which function(s) to build a paged HTML table
- white spaces on the all sides [closed]