Active
Project:
Media: Webcam
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 04:29 UTC
Updated:
29 Aug 2015 at 19:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
antonegorov commentedHi, found a solution?
Comment #2
BeaPower commentedany solution? Webcam is not recording anything...
Comment #3
BeaPower commentedstill not working... any updates. Is Red5 required to get it working?
Comment #4
ryantollefson commentedSame issue here (just trying to do snapshot, no video).
Comment #5
g089h515r806 commentedsame issue
Comment #6
BeaPower commentedany updates?
Comment #7
medienverbinder commentedsame issue here:
The input field (class="media-webcam-snap-textarea") contains the value "data:image/jpeg;base64,......".
I can manually decode and get the picture. The recording does so, however, the image cannot be saved as a file.
Thanks !
Comment #8
jazznight17 commentedsame issue :
the problem seems to be $path var from line if ($file->filepath = file_save_data($base64, $path .'/media-webcam-image-'. time() .'.jpg')) {...
if i replace $path by $destination so file is recorded on server but doesn't appear on save node.
could you help please ?
thanks
Comment #9
jazznight17 commentedsame issue :
the problem seems to be $path var from line if ($file->filepath = file_save_data($base64, $path .'/media-webcam-image-'. time() .'.jpg')) {...
if i replace $path by $destination so file is recorded on server but doesn't appear on save node.
could you help please ?
thanks
Comment #10
Dave.Ingram commentedJust confirming that #8 is definitely a step in the right direction. Replacing $destination with $path on line 267 in the current dev version gets a step closer, but still wasn't saving for me.
As I'm not in need of video, I'm moving over to a sandbox module that uses a jQuery plugin to capture only images:
http://drupal.org/sandbox/ooystein/1616836
Comment #11
totolearn commentedGetting the same problem at current Dev version? Any process or anyone find the solution?
I also tried #10's sandbox/ooystein/1616836 but crash the 7.23 core settings.
We just need to capture photo from webcam, no video needed. TIA for anyone can point to other directions!!
Comment #12
LGLC commentedLooks like the code isn't handling the file saving correctly when saving images. I've written a patch to address the issue.
Comment #13
LGLC commentedLooks like the code isn't handling the file saving correctly when saving images. I've written a patch to address the issue.
Apologies for the double post!
Comment #14
chuta commentedI got this module to work perfectly, though it will be great to write a new display format for it to display files as image. I have attached a screen shot to show the file path configurations. Just download the attached module to replace the one that came originally with it. The patch is already applied with minimal changes. Enjoy!