Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/barryceelen/wp-fitvids/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress FitVids
A simple implementation of the wonderful Fitvids.js jQuery plugin to make videos embedded in posts responsive.
Currently targets videos contained inside an element with the .hentry class.
You can add and remove target classes by adding a filter to plugin_fitvids_selectors.
add_filter( 'plugin_fitvids_selectors', 'prefix_my_cool_filter_function' );
function prefix_my_cool_filter_function( $targets ) {
$targets[] = '.yay-an-element-containing-videos';
return $targets;
}