Title: Display using shortcode gone after update
Last modified: August 31, 2016

---

# Display using shortcode gone after update

 *  Resolved [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/)
 * I was using this shortcode to show only thumbnails of videos, but after updating
   this is gone. Now I get the big video with thumbs on the right.
 * [cvg-gallery galleryId=1 mode=’playlist’ /]
 * [https://wordpress.org/plugins/cool-video-gallery/](https://wordpress.org/plugins/cool-video-gallery/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7286940)
 * Succeeded in getting the display back, but not I added a new video but the thumbnail
   won’t display: [http://www.halal-slaughter-watch.org/media/videos/](http://www.halal-slaughter-watch.org/media/videos/)
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287117)
 * [@jack](https://wordpress.org/support/users/jack/),
 * Looks like your youtube video did not have a standard image set. This can be 
   fixed. But need to modify code a little bit and I’ll be happy to help you with
   it.
 * Open file cool-video-gallery/lib/youtube.php. In line no 39, replace below
 * `$obj -> thumbnailURL = $item ['snippet'] ['thumbnails'] ['standard'] ['url'];`
 * with
 * `$obj -> thumbnailURL = $item ['snippet'] ['thumbnails'] ['high'] ['url'];`
 * Now add the video again and it should show the thumbnail. Let me know.
 * Also if you like the plugin please provide your valuable ratings.
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287240)
 * [@jack](https://wordpress.org/support/users/jack/),
 * This issue is fixed in latest version of plugin.
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287247)
 * Thanks Praveen! I didn’t have time to try your solution in your previous comment,
   but a permanent solution is always better 🙂 Thank you.
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287252)
 * So I hope the latest update solved your issue. Let me know. If you liked the 
   plugin please take time to rate it
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287253)
 * I get this error now:
 * Parse error: syntax error, unexpected ‘[‘ in /srv/eona127/www/www.halal-slaughter-
   watch.org/wp-content/plugins/cool-video-gallery/lib/core.php on line 1666
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287254)
 * Please let me know which version of plugin are you using?
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287255)
 * Version 2.3
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287256)
 * When trying to activate it again it says Plugin could not be activated because
   it triggered a fatal error.
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287257)
 * Thanks for letting me know. It was a PHP compatibility issue for a function in
   PHP 5.4 below. Please download a new copy and try again.
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287265)
 * Thanks Praveen.
    The videos show up again, not error message, but the layout 
   of the page has changed. Are there changes in the page setup or css? [http://www.halal-slaughter-watch.org/media/videos/](http://www.halal-slaughter-watch.org/media/videos/)
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287266)
 * [@jack](https://wordpress.org/support/users/jack/),
 * This is due to css from your theme. See screenshot at url below. The images in
   post are added additional padding, margin and border from theme css. This is 
   breaking the design. If you want to override this, you have to add css to to 
   img tag in plugin.
 * [http://oi68.tinypic.com/2u9rbic.jpg](http://oi68.tinypic.com/2u9rbic.jpg)
 * Below are steps:
    Open file lib > core.php line 1712
 * `
    $out .= '<img src="' .$current_video['thumb_filename'] . '" style="width:'.
   $thumb_width . 'px;height:' . $thumb_height .'px;" ' ;
 * replace with below
    ` $out .= '<img src="' .$current_video['thumb_filename'] .'"
   style="margin:0px !important;border:0px !important;padding:0px !important;width:'.
   $thumb_width . 'px;height:' . $thumb_height .'px;" ' ;
 * Let me know if it worked.
 *  Thread Starter [Jack](https://wordpress.org/support/users/moxie/)
 * (@moxie)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287270)
 * I added custom css which is safer than changing your files 😉 For future updates
   I mean. So it’s ok now. Thanks!
 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287271)
 * [@jack](https://wordpress.org/support/users/jack/)
 * That seems good 🙂 Do rate the plugin if you like it.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Display using shortcode gone after update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cool-video-gallery_658d3b.svg)
 * [Cool Video Gallery](https://wordpress.org/plugins/cool-video-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cool-video-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cool-video-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/cool-video-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cool-video-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cool-video-gallery/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/display-using-shortcode-gone-after-update/#post-7287271)
 * Status: resolved