About Camtasia relay:
Camtasia Relay allows multiple people to create screencast videos with just a computer.
Once recorded, the video is automatically produced and available for viewing online, on an iPod or just about anywhere. (http://www.techsmith.com/camtasiarelay.asp)
Steps:
1)A user captures media using Camtasia relay client.
2)This client will upload the media to Camtasia relay server.
3)The server converts this media to different formats like flv, ipod.... using pre configured encode settings.
4)The server publishes this media to Drupal server via ftp.
5)The Drupal module will scan the directory on cron run and create nodes for each recorded media.
The working of this module can be seen at http://www.lyceumtechnologies.com/
Username: demo Password: demo
Comments
Comment #1
technikh commentedI'm adding attachment of the written module (relay.zip).
I am also attaching few screenshots for the better understanding.
Comment #2
technikh commentedAdding Tag "CVS module review"
Comment #3
kaw3939 commentedI work for a university and we will use this and have been waiting
For something like this to help. I can't wait to use it!
Comment #4
trungonly commentedI'd like to put some comments:
- In
relay_form()function, there are plenty of hidden form fields which have title passed tot(). Since this is a hidden field, so there is no UI for theset()passed words. Usingt()will put un-translated sentences into{locals_source}database table, which is unused. We should removet()or even remove#titlein this case.- You should
require_once()only when needed, for examplerequire_once("relay_func_file.inc")only in functionsrelay_cron()andrelay_file_move(). Doingrequire_once()in the global of header file will cause these files loaded everytime the boottrap loads, even when relay module is not in use.- You should replace
strlen($dir)bydrupal_strlen($dir)for more string handling.- There are some unused code commented out like in
relay_perm()function and more. We could get rid of them without trouble.- Capitalize this word "implementation".
Comment #5
technikh commentedThanks trugonly for your comments.
- I will remove the t() for hidden elements. I cannot remove #title & #description because in future they may not be hidden. User may be wiling to edit those fields.
- I will fix other issues and attach the updated module soon.
Thanks once again.
Comment #6
svendecabooterSetting to 'needs work' based on comments by trungonly
Comment #7
avpadernoJust a note: the function to use to load a PHP file is
module_load_include().Comment #8
technikh commentedHere is the Updated module as per suggestions by trugonly.
1)I removed t() for hidden form elements.
2)I used module_load_include() at the cron hook instead of top of the file. Thanks kiamlaluno & trugonly.
3)I replaced strlen($dir) with drupal_strlen($dir)
4)I removed all the unwanted & commented code.
5)I put "Implementation" instead of "implementation".
Please Review the module code and Let me know if I am missing any thing else.
I am changing the status to needs review.
Thank You all.
Comment #9
svendecabooterSome remarks while scanning though the code and UI:
Comment #10
svendecabooterOh... and don't use t() in relay_schema(). See http://drupal.org/node/322731
Comment #11
trungonly commentedIf you like to put "#title" in hidden form field, for a place holder for later use, you may put them into a comment segment next to it ?
Comment #12
technikh commentedHere is the Updated module as per suggestions.
1) I commented the unused properties for hidden elements. The reason I didn't remove them is in future releases they might be visible.
2) I provided default values in Settings page.
3) I put form validation handlers for max limit(numeric) and made the path field required.
4) I added filter to body field.
5) removed 'file' property in line 325
6) removed 'admin/settings/relay/configure'
7) Used menu wild card loader at all 3 places and updated functions accordingly. node/%node/
8) Corrected blank CVS header in relay.views.inc (// $Id$)
9) removed echo and print_r statements. they were for debugging.
10) removed t() in relay_schema().
Thank You all. I appreciate it. Please review the attached code. I am changing the status to 'needs review'.
Comment #13
technikh commentedCan some one please review the module and take it to next step..
Comment #14
trungonly commentedBump. Good luck.
Comment #15
technikh commentedThanks trungonly.
I am excited to see this moving.
Thank You all.
Comment #16
kaw3939 commentedHI,
I"ve been following this module. I'd like to use it soon. When will this be approved for download / collaboration.
Comment #17
kaw3939 commentedbased on trungonly comments from #14 I am changing the status to reviewed & tested by the community."
and change status to reviewed & tested by the community.
Comment #18
avpadernoComment #19
kaw3939 commentedCan someone review and approve this module?
What seems to be the hold up?
I really would like to use it and I think many other people would as well, its fairly useful for educational institutions that have Camtasia Relay servers.
Comment #20
kaw3939 commentedCan this be approved yet? I really want to use this module, but it needs approved for me to do so. Thank You,
Keith
Comment #21
dragonwize commentedMy review of this module as requested by TechNikh: (reviewing off of file in #12)
Need fixed before approval
Non-blocking suggestions
All in all, this is good work. I have no doubt you are well on you well to being a great Drupal developer. Please take these an all other comments as information to help you grow in a positive way.
Comment #22
dragonwize commentedForgot the status change.
Comment #23
technikh commentedThanks dragonwize for your valuable suggestions.
I fixed the show stoppers. I will fix the remaining issues before this weekend and update the code here.
Thanks again!!
Comment #24
technikh commentedThanks dragonwize. I updated the module with these changes. Please review it.
1. All variables are in the modules namespace.
2. The ending comments for functions are removed.
3. Node name changed to "Camtasia relay"
4. Removed package in info file
5. Doc block comments are updated
6. In "relay_meta_access()" and "relay_download_access", the else clause now has braces around it.
7. A requirement for PHP5 is listed in the .info file.
8. The functions in relay_func_file.inc and relay_func_node.inc are now prefixed with the module name to prevent namespace collisions.
9. now the "upload files" permission need not be given to anonymous role.
10. A README.txt file describing what this module is provided.
11. Arrays in "relay_view()" now follow the standard and have the ending ); on a line by itself.
12. Removed the path option in "relay_views_api()" as it's redundant.
13. Now it's "node/%node/relay-meta" and "node/%node/relay-download"
14. Resolved spacing issues in relay.views.inc Now $data lines are properly aligned.
Comment #25
technikh commentedalso changed the module name from "relay" to "camtasia_relay".
Comment #26
technikh commentedkiamlaluno,
Is there anything further I can do to move this forward? I've been working on this for about 11 weeks now. Any help or advice would be much appreciated.
Nikhil
Comment #27
avpadernoComment #28
avpadernoComment #29
technikh commentedAwesome!! Thank You so much.