Fix for Vimeo
-
Sometimes people don’t give permission for the vimeo videos to be embedded…and as a result their new error message..and array will mess up this plugin. Here’s the fix:
Go to the end of the file video-thumbnails/video-thumbnails.php:
Go to the end of the file, and replace the video thumbnail function with this:
function video_thumbnail( $post_id = null ) { $video_thumbnail = get_video_thumbnail( $post_id ); if ( $video_thumbnail == null || !is_string($video_thumbnail ) ) { echo plugins_url() . '/video-thumbnails/default.jpg'; } else { echo $video_thumbnail; } }
You’re welcome everybody ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fix for Vimeo’ is closed to new replies.