[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.
-
Hi,
Could please mention your OS platform? Please make sure file write permission is provided to file upload path in server. If still you are facing issues please do contact me.
I am running Debian Lenny 32 bit.
File write persmission is set to 777, but still no change, some videos don’t have a thumbnail nor can i change them.
–wordpress 3.0.4–Theme MistyLook–
Hi Praveen, your plugin(cvg)is really great ! I have two questions:1. After install cvg, I set permissions to 777- then I add a gallery and upload a mp4 – then I go to *details and want to change the default img.png to my new img.jpg (72dpi-smal size), but it doesn´t change !
2. I want to set the gallery in my wp-site, but I dont know how its works… what kind of code I´hv to use to embed a gallery to my site ?
thanks for help & kind regards, alexAre you sure you set permission 777 for
\wp-content\plugins\cool-video-gallery\lib\and\wp-content\plugins\cool-video-gallery\lib\cachefolders also? What does your Video Gallery Overview page mentions about FFMPEG? Does it says ‘FFMPEG Installed’? It is working fine in my development environment. Please try clearing your browser cache too.1. If you see this message after editing preview message
Video preview image successfully addedthen please try clearing your browser cache.2. You could call functions
cvgShowCaseWidget(gid)for showcase effect andcvgSlideShowWidget(gid)for slideshow in your custom template where gid is your gallery id.For more details please see the help in plugin administration page at top.
Shortcode is not implemented in this version. Will come up in next release very shortly.
Thanks
–wordpress 3.0.4–Theme MistyLook– lib+cache are 777–FFMPEG is installed– http://su-voessing.de/video –firefox–
@ Praveen
I dont get the message: “Video preview image succesfully added” …also clear the browser-cache.I cant find my preview-img in the wp-files on my strato-server(search over filezilla) only the default-preview-img.png is still there!
Questions:
1. after upload, in witch folder have to be my new preview-img ?
2. its possible to edit the new preview-img direct in my video-site ?
3. what do you think to set the permissions for admin to 775 or 777 – maybe it works with the upload ( actually is 755)?is this code correct ?
gallery-details.php//Section to upload preview imaage for video if(isset($_POST['TB_previewimage_single']) && !empty($_POST['TB_previewimage_single']) && trim($_POST['TB_UploadPreviewImage']) == 'Upload Image' && is_array($_FILES['preview_image'])){ if(empty($_FILES['preview_image']['tmp_name'][0])) CvgCore::show_video_error(__('No preview images uploaded')); else CvgCore::upload_preview(); } $gid = $_GET['gid'];Thanks
Both folder are chmodded to 777, plugin tells me, ffmpeg is installed.
It works fine for some videos though, but for a few it doesnt work.
@ teretax
you wrote, some videos works with cvg !
What did you mean:
works= upload+play your video in the cvg-gallery and upload succesfull a personal thumbnail for this video
or
works= shown in your post with the default-thumbnail…?and witch kind of videos works on your website
flv or/and mp4
did you set the videos from your server or from youtube or somwere else ?thanks, alex
I meant, I could upload them and play them in my post with the automatically generated thumbnail.
I am not able to change any of those thumbnails by uploading a new one. Even if there was no thumbnail generated, which happens sometimes.
Both kinds , mp4 and flv, work fine with cvg. I just cant change the thumbnail by uploading a new one.
1. Preview image will be uploaded to folder with gallery name you created inside
/wp-content/uploads/video-gallery/Eg. If gallery name isCVGand if the video name issample.mp4then the preview image will be uploaded to/wp-content/uploads/video-gallery/CVG/thumbs/thumbs_sample.jpeg(In case of multisite, it will be inside/wp-content/blogs.dir). Please try setting permission 777 foruploadsfolder recursively.2. Yes you can edit preview image directly in server. Copy the image to location mentioned above similar to example mentioned(following file naming accordingly).
Could you specify what message you get after you upload an image through the popup window?
Please specify the message you receive after you upload an image through the popup window? I could then get a better idea of your scenario.
@praveen
permissions:
/wp-content/uploads = the set-permission are 755 – I chmodded to 777 but is doesnt work… if I check the permissions after the set is still 755 (the subfolders are 777)!!
video-gallery and all subfolders(also thumbs)are 777upload-process :
the popup-window open, I search my file(harddrive)-open the file, the popup registered my file, then I use the button to upload, the popup dissolves, but I get no message like “successful upload” !!
I reload the Gallery-Details but the default img doesnt change.best alex
Could you try replacing the functions
upload_previewandget_max_sizeinplugins/cool-video-gallery/lib/core.phpwith the following and try once again.upload_preview
—————[Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]
get_max_size
—————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; }Thanks,
PraveenI don’t get any kind of message, the picture upload overley just disappears after I click upload picture.
The topic ‘[Plugin: Cool Video Gallery] Some issues’ is closed to new replies.