Home › Forums › Support › Add FitVids to GeneratePress for responsive videos › Reply To: Add FitVids to GeneratePress for responsive videos
June 8, 2016 at 5:17 am
#200255
jordi
Hello Tom
1 jquery.fitvids.js want to upload the plugin on the main theme for the videos have correct proportions, I went to https://github.com/davatron5000/FitVids.js page to download the plugin but can not find,
2 file
add_action ( ”, ‘wp_enqueue_scripts generate_fitvids’);
generate_fitvids function ()
{
wp_enqueue_script (” fitvids get_stylesheet_directory_uri () “,” /jquery.fitvids.js array ( ‘jquery’), ‘1.0’ is true.);
}
you have to upload it to generate press functions.php?
I take hours and do not fix it, thanks for your tremendous help
Jordi