Vimeo video play button color function
I did a couple of things to fix this issue… I added a function that adds a class to my Vimeo iFrame: https://wp-time.com/add-custom-class-to-wordpress-iframe-video/ function video_class($html) { if (preg_match(‘/(vimeo.com)/’, $html)) { return str_replace(‘<iframe’, ‘<iframe class=”video”‘, $html); } else { return $html; } } add_filter(’embed_oembed_html’, ‘video_class’, 99, 4); I implemented some JS to change the properties of … Read more