Support » Plugin: Cool Video Gallery » Video Gallery in Page Template not displaying Videos

  • Resolved leigha-intelligraph

    (@leigha-intelligraph)


    I am looking into a problem a client is having on one of their webpages with this plugin. We have several video galleries and all galleries have several videos in them.

    Within the page template we are calling the shortcode:

    <div class="post_video">
      <?php $video_id =  get_post_meta($post->ID, 'post_video_gallery', true);
      $video_shortcode = "[cvg-gallery galleryId='{$video_id}' mode='playlist' /]";
      echo apply_filters( 'the_content', $video_shortcode);
                     ?>
                      </div>

    As far as I can tell, this code is producing some javascript:

    <script type="text/javascript">
    jQuery(document).ready(function(){
    jwplayer("mediaplayer_gallery_14").setup({
    'name' : "playerID_Gallery14",
    'flashplayer' : "http://intouchhome.com/wp-content/plugins/cool-video-gallery/cvg-player/player.swf",
    'id': "playerID_Gallery14",
    'playlistfile': "http://intouchhome.com/wp-content/uploads/video-gallery/Irene-Cara/Irene-Cara-playlist.xml",
    'height' : "450",
    'width' : parseInt(650),
    'playlist.position' : "right",
    'playlist.size': parseInt(100),
    'autostart' : "false",
    'controlbar' : "bottom",
    'volume' : "70",
    'mute' : "false",
    'stretching' : "fill",
    "skin" : "http://intouchhome.com/wp-content/plugins/cool-video-gallery/cvg-player/skins/slim-skin/slim.xml"
    });
    });
    </script>

    Followed by the CORRECT mediaplayer gallery:
    <div id="mediaplayer_gallery_14"></div>
    But the gallery is empty. It doesn’t contain any of the videos it supposed to.

    Do you know of any plugins or any settings that may be clicked/unclicked that could cause this?

    Thank you in advance!

    p.s. The problem can be seen here: http://intouchhome.com/artists/roster/irene-cara/
    There is a VIDEO gray box close to the bottom with a “Click to View” link. When you click this, it should open to the gallery – but the gallery is empty.

    http://wordpress.org/extend/plugins/cool-video-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    @leigha-intelligraph

    I’m able to see the gallery with playlist in the mentioned URL which has 4 videos.

    Thread Starter leigha-intelligraph

    (@leigha-intelligraph)

    I actually fixed it yesterday. There were a few errors popping up that I just couldn’t seem to fix.

    [Tue May 14 17:44:22 2013] [warn] mod_fcgid: stderr: PHP Warning: exec() has been disabled for security reasons in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/core.php on line 1370

    This fix for this was commenting out lines 1403 – 1412 and adding a ‘return true’ here; This function is looking to see if ffmpeg exists. In this case, with this plugin – it does. So I just hardcoded it so we no longer have to call exec (which has been disabled).

    [Tue May 14 17:45:04 2013] [warn] mod_fcgid: stderr: PHP Warning: Creating default object from empty value in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/video-db.php on line 75
    [Tue May 14 17:45:04 2013] [warn] mod_fcgid: stderr: PHP Warning: Creating default object from empty value in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/video-db.php on line 75
    [Tue May 14 17:45:04 2013] [warn] mod_fcgid: stderr: PHP Warning: Creating default object from empty value in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/video-db.php on line 75
    [Tue May 14 17:45:04 2013] [warn] mod_fcgid: stderr: PHP Warning: Creating default object from empty value in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/video-db.php on line 75
    [Tue May 14 17:45:04 2013] [warn] mod_fcgid: stderr: PHP Warning: Creating default object from empty value in /home/linweb13/i/intouchhome.com/user/htdocs/wp-content/plugins/cool-video-gallery/lib/video-db.php on line 75

    I Added a line at 73: ‘$galleries = new stdClass();’ This just creates a new standard object class. For some reason the variables needed to be set differently than had been done.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Video Gallery in Page Template not displaying Videos’ is closed to new replies.