[Plugin: Cool Video Gallery] Some issues
-
Hi,
Right now I am testing the plugin to the core.
At first, for some videos I uploaded the preview image is created but its size is 0 bytes. Or no Image is created and I get the standard preview image.
Another issue is I can’t change the preview image by uploading another one, It just does not change nor upload to the server.
ffmpeg and php5-ffmpeg support is installed and enabled.
-
Please replace
get_max_sizeandupload_previewinplugins/cool-video-gallery/lib/core.phpwith the code below and let me know if it works.function get_max_size() { $upload_size_unit = wp_max_upload_size(); $sizes = array( 'KB' ); for ( $u = -1; $upload_size_unit > 1024 && $u < count( $sizes ) - 1; $u++ ) $upload_size_unit /= 1024; if ( $u < 0 ) { $upload_size_unit = 0; $u = 0; } else { $upload_size_unit = (int) $upload_size_unit; } return $upload_size_unit; }http://wordpress.pastebin.com/vUbWLKrs
Thanks
I replaced the mentioned functions, still no change.
Can’t change the previe image nor add a preview image if no image exists.
i upgraded to the new release, but still no changes.
Same errors as before, cant upload picture and some videos still have no thumbnail nor can i change/add thumbanils.
I’ve tested the same in my development environment and it works perfectly.
Please try these steps too.
1. Upload a video wp-content/uploads/video-gallery/<your gallery name>/sample.mp4 using FTP.
2. In gallery details page use the optionScan gallery folder. The new video will be added to the gallery list then.
3. Uploaded an image file through FTP `wp-content/uploads/video-gallery/<your gallery name>/thumbs/thumbs_sample.jpeg’.Now check if the preview image is showing up or is it showing just the link
Click to Watch Video?@ Praveen
I upgraded to the new release too
–replace get_max_size with the new code
–can´t replace the “upload_function” code, because you don´t wrote the new ones in this posts
–my current function_upload code reads:<br /> function upload_preview() {</p> <p> // Videos must be an array<br /> $imageslist = array();</p> <p> // get selected gallery<br /> $videoID = (int) $_POST['TB_previewimage_single'];</p> <p> if ($videoID == 0) {<br /> CvgCore::show_video_error(__('Error uploading preview image!'));<br /> return;<br /> }<br />try to set a new gallery with a previe img – but still the same default img.
I resize my preview-img smaler= with=100px and I upload via FTP the preview-file in the thumbs, but nothing changed!whats up with the “thumbgen.php” maybe there have to be a new code…??!!
when I try to upload the preview-img, I saw in the popup that you wrote “…only jpeg images allowed” – if I save an img, my file read: “example.jpg” not “example.jpeg” !
maybe tis is wrong… what do you think ?
best alex@ Praveen
now it works with the instructions from “Lemaire”maybe you modifiy the code for upload-preview img – and datas with extensions like “jpg” are allowed too, because in the db is jpeg and jpg not the same !
What do you think ?
best alexI have a completely different issue, but thought it might be OK in the “some issues” thread. When I upload a video using the CVG interface and put the gallery on my main WP page, the audio plays but I see nothing but a black screen. I have tried different player skins to no effect. Any ideas?
Thanks,
Beth (WordPress novice, so forgive me if it’s something obvious)I’m looking forward into those issues. Will let you know as soon as they are fixed.
Thanks
Praveen@bethmeyer – novice are always welcome coz i used to be novice once 😉
That seems to be a new issue. Could you give me your website link with the sample video so that i can take a look at the issue you mentioned here.
Thanks for looking into this, Praveen!
The blog in question is actually my son’s for which I am doing the tech support –
http://www.ericraymeyer.netI left the gallery up on a sidebar for troubleshooting purposes.
Thanks,
BethI’m disappointed to say that the video doesn’t play for me either. I’ve checked it my test environment. The player I’m using for this plugin is JW Player. The video doesn’t even play in the player provided by JW Player. Could you try the same video by converting it into flv and let me know if works or not.
Thanks
PraveenHi Beth,
I’ve done a little research in your issue.
Please try converting the mp4 file into flv and then try it out.
Thanks
PraveenHi all!
Love this plugin but i have a small problem.
Warning: exec() has been disabled for security reasons in /home/xxx/domains/conlin.se/public_html/wp-content/plugins/cool-video-gallery/lib/core.php on line 766
How do i fix this?
Regards Conny
Hi Conny,
Thanks for the remark.
exec()is a PHP-specific function that your web host might have disabled with PHP safe mode.
http://www.php.net/manual/en/features.safe-mode.functions.phpPlease contact your web host admin.
To disable PHP warnings you could add the snippet
ini_set('display_errors', 0);to your application code.Help me out with rating if you like my plugin.
Thanks,
Praveen
The topic ‘[Plugin: Cool Video Gallery] Some issues’ is closed to new replies.