• Resolved AmirHossein

    (@aghorbanmehr)


    the new update 1.9 is broken
    the problem is that the video player code generator generates the following code:

    [cvg-video videoId=’275′ width=’590′ height=’400′ mode=’playlist’ /]

    but it should generate this code:
    [cvg-video videoId=275 width=’590′ height=’400′ mode=’playlist’ /]

    and i dont know why Praveen Rajan try not to fix it!

    https://wordpress.org/plugins/cool-video-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter AmirHossein

    (@aghorbanmehr)

    sorry
    it should be like this
    [cvg-video videoId=275 width=590 height=400 mode=playlist /]

    but in my site i have more than 300 videos with the old code
    [cvg-video videoId=’275′ width=’590′ height=’400′ mode=’playlist’ /]

    and i can not update all of them.
    plz fix this issue

    having the same issue!

    Thread Starter AmirHossein

    (@aghorbanmehr)

    no update yet!
    I think its a dead plugin.

    Here’s the quick fix until new version is released (so you don’t have to edit all your posts…)

    Edit file cool-video-gallery.php in text editor (Notepad++ is advisable).

    Then locate this:

    function CVGVideo_Render($matches){
    	global $post, $wpdb;
    	$output = '';
    	preg_match_all('/([\.\w]*)=(.*?) /i', $matches[1], $attributes);
    	$arguments = array();
    	$arguments = CoolVideoGallery::splitargs($matches[1]);

    And after that last line just add the following line:

    foreach ($arguments as $k=>$a) $arguments[$k] = str_replace(array("'", '’','′'), '', $a);

    NOTE: The above code is not parsed well, so visit this pastebin and take the code from there!!!

    That should do the trick until a fixed version of this plugin is released.

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

The topic ‘video not found’ is closed to new replies.