Closed (duplicate)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 May 2012 at 00:05 UTC
Updated:
20 May 2012 at 19:38 UTC
I want to use a rather nice JS + Flash module called jpegcam to upload static images (not videos) taken on the fly using a webcam attached to the client browser. I'm thinking it would add a tab to the Media Selector, in the same way the Library and Web extensions do, which would contain the required "viewfinder" flash video, the Take Picture button, and possibly something about file naming.
I'm wondering therefore about creating a Media: Webcam extension to Media (although perhaps it should be Media: JpegCam?) but I am somewhat at a loss as to where to start. Anyone any suggestions for API docs or template modules?
Ruth
Comments
Comment #1
markwk commentedRuth, there are quite a few modules already built using Media module. I don't know your background, but generally the easiest route is to find related modules (at least in structurally what they are doing) and code hijack. Take a look at the embed media modules to see what you might adapt for the media selector step.
Best of luck...
Comment #2
devin carlson commentedThe current developer documentation is definitely lacking. As markwk mentioned, the best you can do is to check out existing media player and provider modules.
Marking this a duplicate of #1493390: Write plugin development documentation.
Comment #3
rivimeyI posted because I'm fairly new to Drupal internals and very new to Media, and was hoping for a pointer to a suitable module to hijack... any ideas?
Ruth
Comment #3.0
rivimeyExplained more of interface.