Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-18341

Make a Record audio repository plugin

    Details

    • Type: New Feature
    • Status: Development in progress
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: DEV backlog
    • Component/s: Media, Repositories
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      This would require a Flash or Java plugin to record the audio to a suitable compressed format. Then the data could be uploaded just like the File upload plugin does. The result would be very cool.

      See also:
      MDL-13766 - Repository API metabug.
      http://moodle.org/mod/forum/discuss.php?d=117135
      http://moodle.org/mod/forum/discuss.php?d=116968

      This might make a good GSoC project.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jrily Sharon Goodson added a comment -

              Very cool indeed! We could do so much with something like this!

              Show
              jrily Sharon Goodson added a comment - Very cool indeed! We could do so much with something like this!
              Hide
              dougiamas Martin Dougiamas added a comment -

              I agree, this would be a fine Repository plugin!

              Nanogong could be a good place to start:

              http://gong.ust.hk/nanogong/moodle.html

              Show
              dougiamas Martin Dougiamas added a comment - I agree, this would be a fine Repository plugin! Nanogong could be a good place to start: http://gong.ust.hk/nanogong/moodle.html
              Hide
              tsala Helen Foster added a comment -

              Tim, thanks for your suggestion, watchers, thanks for your interest, and thanks to everyone who has voted

              This feature idea is now included in the list http://docs.moodle.org/en/Projects_for_new_developers

              Show
              tsala Helen Foster added a comment - Tim, thanks for your suggestion, watchers, thanks for your interest, and thanks to everyone who has voted This feature idea is now included in the list http://docs.moodle.org/en/Projects_for_new_developers
              Hide
              clarkshahnelson Clark Shah-Nelson added a comment -

              Could this also work for video - to record directly from a webcam?

              Show
              clarkshahnelson Clark Shah-Nelson added a comment - Could this also work for video - to record directly from a webcam?
              Hide
              like2travel Like2Travel added a comment -

              As a language teacher, this would be a great asset. It would change every computer lab into a language lab. I like the record video from a webcam also, and would like to see recording of both ends of a conversation.

              Show
              like2travel Like2Travel added a comment - As a language teacher, this would be a great asset. It would change every computer lab into a language lab. I like the record video from a webcam also, and would like to see recording of both ends of a conversation.
              Hide
              jwhite10 John White added a comment -

              Tim,
              Sounds great! Intergrating the audio recording with the upload so that if a 'title' has been defined the audio appears when the recording ends would reduce clutter perhaps.
              Doing this with video as well (as Clark suggests) would be superb (and I don't think at all trivial), I know one or two lecturers at Ravensbourne College, UK, who video blog their lectures. Though you then have to consider hiding the resource for a week or students never need get out of bed!
              Not necessarily a 'webcam', but a plugged in camcorder for example.
              And note the fabulously clever BBC model where the server is fed a file stream from the news desk, which is immediately streamable from the front end! But perhaps that is TOO exotic!

              Show
              jwhite10 John White added a comment - Tim, Sounds great! Intergrating the audio recording with the upload so that if a 'title' has been defined the audio appears when the recording ends would reduce clutter perhaps. Doing this with video as well (as Clark suggests) would be superb (and I don't think at all trivial), I know one or two lecturers at Ravensbourne College, UK, who video blog their lectures. Though you then have to consider hiding the resource for a week or students never need get out of bed! Not necessarily a 'webcam', but a plugged in camcorder for example. And note the fabulously clever BBC model where the server is fed a file stream from the news desk, which is immediately streamable from the front end! But perhaps that is TOO exotic!
              Hide
              dongsheng Dongsheng Cai added a comment -

              It is a GSOC project, so assign this to moodle.com

              Show
              dongsheng Dongsheng Cai added a comment - It is a GSOC project, so assign this to moodle.com
              Hide
              dongsheng Dongsheng Cai added a comment -

              Repository API

              Show
              dongsheng Dongsheng Cai added a comment - Repository API
              Hide
              abautu Andrei Bautu added a comment -

              The riffly repository plugin provides integration of the riffly.com web services, allowing recording of audio and video content. The content is stored on the riffly.com servers and requires no account, streaming software or additional storage space on the Moodle side.

              Show
              abautu Andrei Bautu added a comment - The riffly repository plugin provides integration of the riffly.com web services, allowing recording of audio and video content. The content is stored on the riffly.com servers and requires no account, streaming software or additional storage space on the Moodle side.
              Hide
              tsala Helen Foster added a comment -

              For the benefit of watchers, and anyone else viewing this issue, I'm just adding a link to a blog post where Andrei explains how to install and use the riffly repository plugin:

              http://abautu.blogspot.com/2009/07/midterm-plugin.html

              Show
              tsala Helen Foster added a comment - For the benefit of watchers, and anyone else viewing this issue, I'm just adding a link to a blog post where Andrei explains how to install and use the riffly repository plugin: http://abautu.blogspot.com/2009/07/midterm-plugin.html
              Hide
              nadavkav Nadav Kavalerchik added a comment -

              here is a patch for a similar purpose that you can apply to Moodle 1.9.x
              it enables audio/video posts in forums:
              http://tracker.moodle.org/browse/MDL-19192

              i will keep you posed when i have integrated it into htmlarea
              (for moodle 1.9.x users, that will not be moving to ver 2.0 this year)

              Show
              nadavkav Nadav Kavalerchik added a comment - here is a patch for a similar purpose that you can apply to Moodle 1.9.x it enables audio/video posts in forums: http://tracker.moodle.org/browse/MDL-19192 i will keep you posed when i have integrated it into htmlarea (for moodle 1.9.x users, that will not be moving to ver 2.0 this year)
              Hide
              abautu Andrei Bautu added a comment -

              The latest riffly plugin is in CVS contrib/repository/riffly. I'm also attaching the nanogong plugin for repository. It's not in CVS, yet.

              Show
              abautu Andrei Bautu added a comment - The latest riffly plugin is in CVS contrib/repository/riffly. I'm also attaching the nanogong plugin for repository. It's not in CVS, yet.
              Hide
              abautu Andrei Bautu added a comment -

              The two plugins are in CVS /plugins/repository/riffy and /plugins/repository/nanogong.

              Show
              abautu Andrei Bautu added a comment - The two plugins are in CVS /plugins/repository/riffy and /plugins/repository/nanogong.
              Hide
              tsala Helen Foster added a comment -

              Andrei, thanks for adding the plugins to the modules and plugins database

              http://moodle.org/mod/data/view.php?d=13&rid=2611
              http://moodle.org/mod/data/view.php?d=13&rid=2612

              For anyone wishing to try out the plugins, please see http://abautu.blogspot.com/2009/08/completed-audio-repository-plugins.html

              Show
              tsala Helen Foster added a comment - Andrei, thanks for adding the plugins to the modules and plugins database http://moodle.org/mod/data/view.php?d=13&rid=2611 http://moodle.org/mod/data/view.php?d=13&rid=2612 For anyone wishing to try out the plugins, please see http://abautu.blogspot.com/2009/08/completed-audio-repository-plugins.html
              Hide
              tsala Helen Foster added a comment -

              Hi Andrei,

              I've just tried the riffy plugin on my 2.0 test site. I couldn't get my riffy instance to appear in the list of repositories in the file picker until Jerome figured out that 'Download files locally' needed to be set to Yes in the repository instance settings. (The default is No.)

              Hope this little problem can be fixed easily.

              Show
              tsala Helen Foster added a comment - Hi Andrei, I've just tried the riffy plugin on my 2.0 test site. I couldn't get my riffy instance to appear in the list of repositories in the file picker until Jerome figured out that 'Download files locally' needed to be set to Yes in the repository instance settings. (The default is No.) Hope this little problem can be fixed easily.
              Hide
              abautu Andrei Bautu added a comment -

              Hi Helen,

              Thank you for your observation. "Download files" option defaults now to Yes because the File picker displays only plugins that can provide it with actual files (ie. it does not accept links).

              Show
              abautu Andrei Bautu added a comment - Hi Helen, Thank you for your observation. "Download files" option defaults now to Yes because the File picker displays only plugins that can provide it with actual files (ie. it does not accept links).
              Hide
              tsala Helen Foster added a comment -

              Andrei, thanks for fixing the problem.

              Watchers, and anyone else interested, please feel free to try out the repository plugins on our test site:

              http://test.moodle.org/audiovideo/ - login with username test and password test

              Thanks to Jerome and Jordan for setting up the test site.

              Show
              tsala Helen Foster added a comment - Andrei, thanks for fixing the problem. Watchers, and anyone else interested, please feel free to try out the repository plugins on our test site: http://test.moodle.org/audiovideo/ - login with username test and password test Thanks to Jerome and Jordan for setting up the test site.
              Hide
              artlader Art Lader added a comment -

              Just installed the Riffy plugin. I am getting this error message: Plugin "mod_riffly" is defective, can not continue, sorry.

              My 2.0 installation is not current, though. Maybe I need to update and try again.

              – Art

              Show
              artlader Art Lader added a comment - Just installed the Riffy plugin. I am getting this error message: Plugin "mod_riffly" is defective, can not continue, sorry. My 2.0 installation is not current, though. Maybe I need to update and try again. – Art
              Hide
              abautu Andrei Bautu added a comment -

              Hi Art,

              Thank you for the comment. Did it work with the latest 2.0 dev?

              Andrei

              Show
              abautu Andrei Bautu added a comment - Hi Art, Thank you for the comment. Did it work with the latest 2.0 dev? Andrei
              Hide
              georgev George Varghese added a comment -

              Following is the result of trying 'Riffy plugin' on Moodle 2.0 dev (Build 20090822)
              ----------------------------------------------------------------------------------
              Plugin "mod_riffly" is defective, can not continue, sorry.

              More information about this error
              Missing version value in version.php
              Stack trace:

              • line 434 of /lib/upgradelib.php: plugin_defective_exception thrown
              • line 294 of /lib/upgradelib.php: call to upgrade_plugins_modules()
              • line 1079 of /lib/upgradelib.php: call to upgrade_plugins()
              • line 251 of /admin/index.php: call to upgrade_noncore()
                -----------------------------------------------------------------------------------
              Show
              georgev George Varghese added a comment - Following is the result of trying 'Riffy plugin' on Moodle 2.0 dev (Build 20090822) ---------------------------------------------------------------------------------- Plugin "mod_riffly" is defective, can not continue, sorry. More information about this error Missing version value in version.php Stack trace: line 434 of /lib/upgradelib.php: plugin_defective_exception thrown line 294 of /lib/upgradelib.php: call to upgrade_plugins_modules() line 1079 of /lib/upgradelib.php: call to upgrade_plugins() line 251 of /admin/index.php: call to upgrade_noncore() -----------------------------------------------------------------------------------
              Hide
              abautu Andrei Bautu added a comment -

              Hi George,

              I just updated the Moodle and pluings' code. I tried to replicate this error but I could not (ie it worked correctly). Can you update your code and retest? Maybe the error was fixed already in someplace else. If it shows up again, can you provide more details:

              • can you replicate the errors multiple times?
              • what are the steps that trigger it (where did you clicked, what you typed) ?
              • how is your plugin configured?
              Show
              abautu Andrei Bautu added a comment - Hi George, I just updated the Moodle and pluings' code. I tried to replicate this error but I could not (ie it worked correctly). Can you update your code and retest? Maybe the error was fixed already in someplace else. If it shows up again, can you provide more details: can you replicate the errors multiple times? what are the steps that trigger it (where did you clicked, what you typed) ? how is your plugin configured?
              Hide
              plasteq Lukasz Sanokowski added a comment -

              Hello

              I've got a question about Nanogong repository in Moodle 2.0: will it be compatible with recordings created by Nanogong HTML Area in version 'Nanogong 3' (available here: http://moodle.org/mod/data/view.php?d=13&rid=1209)?

              I'm looking forward for response.

              Regards

              Show
              plasteq Lukasz Sanokowski added a comment - Hello I've got a question about Nanogong repository in Moodle 2.0: will it be compatible with recordings created by Nanogong HTML Area in version 'Nanogong 3' (available here: http://moodle.org/mod/data/view.php?d=13&rid=1209)? I'm looking forward for response. Regards
              Hide
              abautu Andrei Bautu added a comment -

              @Lukasz: The repository plugin uses the same Nanogong applet, so the file format is the same. The difference is that for the repository plugin, after recording the file goes under the repository management (which is part of Moodle), instead of begin managed by the 3rd party plugin you mentioned. A tool to migrate the files from the Nanogong HTML Area inside the repository might be helpful though (especially if you have many files).

              Show
              abautu Andrei Bautu added a comment - @Lukasz: The repository plugin uses the same Nanogong applet, so the file format is the same. The difference is that for the repository plugin, after recording the file goes under the repository management (which is part of Moodle), instead of begin managed by the 3rd party plugin you mentioned. A tool to migrate the files from the Nanogong HTML Area inside the repository might be helpful though (especially if you have many files).
              Hide
              drex Mark Drechsler added a comment -

              Hi all,

              Maybe a bug - or not. I checked out the forum post at http://moodle.org/mod/forum/discuss.php?d=130822 which pointed me to the demo site at http://test.moodle.net/audiovideo/course/view.php?id=2 in which I tried to test the functionality.

              For NanoGong I got this error - http://screencast.com/t/ZDYwZDgyN
              For Riffly I got this error - http://screencast.com/t/MTEyOWIzO

              I'm getting our dev team to install these plugins on a local Moodle, but wondering if they are known bugs or if that site is out of date (looks like there are some fairly old posts in there), in which case it might be good to put a warning on there or update it or something.

              If they are bugs then I can do a screencast to show more detail about the error, but afaik I'm using the plugins in a pretty standard way on that test site.

              Cheers!

              Mark.

              Show
              drex Mark Drechsler added a comment - Hi all, Maybe a bug - or not. I checked out the forum post at http://moodle.org/mod/forum/discuss.php?d=130822 which pointed me to the demo site at http://test.moodle.net/audiovideo/course/view.php?id=2 in which I tried to test the functionality. For NanoGong I got this error - http://screencast.com/t/ZDYwZDgyN For Riffly I got this error - http://screencast.com/t/MTEyOWIzO I'm getting our dev team to install these plugins on a local Moodle, but wondering if they are known bugs or if that site is out of date (looks like there are some fairly old posts in there), in which case it might be good to put a warning on there or update it or something. If they are bugs then I can do a screencast to show more detail about the error, but afaik I'm using the plugins in a pretty standard way on that test site. Cheers! Mark.
              Hide
              abautu Andrei Bautu added a comment -

              Hi Mark,

              Thanks for reporting. I'll try to take a look at it. I believe some APIs changed since the plugin code was written.

              Cheers.
              Andrei

              Show
              abautu Andrei Bautu added a comment - Hi Mark, Thanks for reporting. I'll try to take a look at it. I believe some APIs changed since the plugin code was written. Cheers. Andrei
              Hide
              nadavkav Nadav Kavalerchik added a comment -

              I think riffly.com is out of business and not responding for my emails for a few months, now.
              Shame. They are such a good idea for a service.

              we are using http://www.voice-it.biz/lang/EN/homepage
              http://tracker.moodle.org/browse/MDL-21990

              I think you should consider using Kaltura (http://www.kaltura.org/moodle-kaltura-plugin)
              We are testing there product and it looks very promising

              Show
              nadavkav Nadav Kavalerchik added a comment - I think riffly.com is out of business and not responding for my emails for a few months, now. Shame. They are such a good idea for a service. we are using http://www.voice-it.biz/lang/EN/homepage http://tracker.moodle.org/browse/MDL-21990 I think you should consider using Kaltura ( http://www.kaltura.org/moodle-kaltura-plugin ) We are testing there product and it looks very promising
              Hide
              dougiamas Martin Dougiamas added a comment -

              Pity this didn't work out for 2.0, hopefully someone can develop something later.

              Show
              dougiamas Martin Dougiamas added a comment - Pity this didn't work out for 2.0, hopefully someone can develop something later.
              Hide
              dougiamas Martin Dougiamas added a comment -

              (Something that does not rely on a dodgy Web 2.0 start up )

              Show
              dougiamas Martin Dougiamas added a comment - (Something that does not rely on a dodgy Web 2.0 start up )
              Hide
              tbachert Thomas Bachert added a comment -

              It would be nice if we can get this resolved by 2.1. We host for 20 school districts (and growing) that would put this to good use. One of the school districts just inquired about this.

              Show
              tbachert Thomas Bachert added a comment - It would be nice if we can get this resolved by 2.1. We host for 20 school districts (and growing) that would put this to good use. One of the school districts just inquired about this.
              Hide
              timhunt Tim Hunt added a comment -

              This does not need to wait until Moodle 2.1. Repository plugins are just that, plug-ins. Anyone can try making a record audio plugin and then share it using the Modules and Plugins database, and then people can try it in Moodle 2.0 if they want.

              If someone makes a really good plugin like that, that works reliably on most people's computers, then we can consider including it in Moodle 2.x.

              Show
              timhunt Tim Hunt added a comment - This does not need to wait until Moodle 2.1. Repository plugins are just that, plug-ins. Anyone can try making a record audio plugin and then share it using the Modules and Plugins database, and then people can try it in Moodle 2.0 if they want. If someone makes a really good plugin like that, that works reliably on most people's computers, then we can consider including it in Moodle 2.x.
              Hide
              nakohdo Frank Ralf added a comment -

              JFTR

              The Moodle for Language Teaching folks are desperately waiting for a recording plug-in for Moodle 2.0 before they can/will switch, see http://moodle.org/mod/forum/discuss.php?d=170422 (NanoGong).

              Show
              nakohdo Frank Ralf added a comment - JFTR The Moodle for Language Teaching folks are desperately waiting for a recording plug-in for Moodle 2.0 before they can/will switch, see http://moodle.org/mod/forum/discuss.php?d=170422 (NanoGong).
              Hide
              krambambuli Guido Gautsch added a comment -

              Our language training centre has just installed Moodle 2.02 on a trial basis and a voice recorder is indeed desperately needed!

              Show
              krambambuli Guido Gautsch added a comment - Our language training centre has just installed Moodle 2.02 on a trial basis and a voice recorder is indeed desperately needed!
              Hide
              frja Francine Jacquin added a comment -

              I'm a language teacher and I would be grateful if you could install Nano Gongon Moodle 2.
              Thanks a lot!

              Show
              frja Francine Jacquin added a comment - I'm a language teacher and I would be grateful if you could install Nano Gongon Moodle 2. Thanks a lot!
              Hide
              nakohdo Frank Ralf added a comment -

              JFTR

              A bit of development for upgrading NanoGong to Moodle 2.0 is going on at http://moodle.org/mod/forum/discuss.php?d=170422 and documented at http://docs.moodle.org/en/NanoGong/Converting_to_Moodle_2.0

              Any testing, comments and help welcome!

              Cheers,
              Frank

              Show
              nakohdo Frank Ralf added a comment - JFTR A bit of development for upgrading NanoGong to Moodle 2.0 is going on at http://moodle.org/mod/forum/discuss.php?d=170422 and documented at http://docs.moodle.org/en/NanoGong/Converting_to_Moodle_2.0 Any testing, comments and help welcome! Cheers, Frank
              Hide
              herve Herve added a comment -

              As a language teacher, I came to, and adopted, Moodle primarily because of Nanogong. Hearing my students' presentations on line, recording and inserting my own comments in their assignments were priceless features - so interesting that my colleagues asked me to train them and to let them develop their own courses on my site. Now, I feel stuck - between my Moodle 1.9.9 site in which my colleagues and I have invested a lot of time and energy - and Moodle 2.1. in which we won't be able to transfer our courses but have to start all over again from scratch - to find fewer of the features we have come to find indispensable.
              I think that what has not been taken into consideration in the move to Moddle 2.0 is the time it takes for busy teachers to build, test, develop activities - and the time it takes developers to come up on their "free" time with solutions to problems they have not created.
              I feel let down - and my time taken for granted.

              Herve

              Show
              herve Herve added a comment - As a language teacher, I came to, and adopted, Moodle primarily because of Nanogong. Hearing my students' presentations on line, recording and inserting my own comments in their assignments were priceless features - so interesting that my colleagues asked me to train them and to let them develop their own courses on my site. Now, I feel stuck - between my Moodle 1.9.9 site in which my colleagues and I have invested a lot of time and energy - and Moodle 2.1. in which we won't be able to transfer our courses but have to start all over again from scratch - to find fewer of the features we have come to find indispensable. I think that what has not been taken into consideration in the move to Moddle 2.0 is the time it takes for busy teachers to build, test, develop activities - and the time it takes developers to come up on their "free" time with solutions to problems they have not created. I feel let down - and my time taken for granted. Herve
              Hide
              paaskynen Paul Nijbakker added a comment -

              @Herve,
              I share with you the hope to see a NanoGong plugin for Moodle 2. However, there is no reason to feel let down. Moodle 1.9.x works very well and will continue to do so in the foreseeable future. Encourage the coders, donate some funds if you can, or contribute with code yourself, if you wish to speed up the development.

              Show
              paaskynen Paul Nijbakker added a comment - @Herve, I share with you the hope to see a NanoGong plugin for Moodle 2. However, there is no reason to feel let down. Moodle 1.9.x works very well and will continue to do so in the foreseeable future. Encourage the coders, donate some funds if you can, or contribute with code yourself, if you wish to speed up the development.
              Hide
              nadavkav Nadav Kavalerchik added a comment -

              @Herve

              I have recently uploaded a new set of plugins that integrates into the Moodle 1.9.x HTMLAREA Editor,
              one of them allow you Audio Recording. you can try it out : http://tracker.moodle.org/browse/CONTRIB-2730

              When we move to Moodle 2, we will convert those plugins to work with TinyMCE.

              Hope you will find it usefull

              Show
              nadavkav Nadav Kavalerchik added a comment - @Herve I have recently uploaded a new set of plugins that integrates into the Moodle 1.9.x HTMLAREA Editor, one of them allow you Audio Recording. you can try it out : http://tracker.moodle.org/browse/CONTRIB-2730 When we move to Moodle 2, we will convert those plugins to work with TinyMCE. Hope you will find it usefull
              Hide
              jonathan Jonathan Harker added a comment -

              I took the liberty of keeping a history of Nanogong code here: http://gitorious.org/nanogong/

              Show
              jonathan Jonathan Harker added a comment - I took the liberty of keeping a history of Nanogong code here: http://gitorious.org/nanogong/
              Hide
              krambambuli Guido Gautsch added a comment -

              @Frank Ralf

              Did you ever see my comment re: my test of your first try here: http://moodle.org/mod/forum/discuss.php?d=170422 ?

              Show
              krambambuli Guido Gautsch added a comment - @Frank Ralf Did you ever see my comment re: my test of your first try here: http://moodle.org/mod/forum/discuss.php?d=170422 ?
              Hide
              tsala Helen Foster added a comment -

              Thanks everyone for your comments and votes. Increasing priority and setting a fix version of DEV backlog for the issue to be considered for inclusion in the next version of Moodle.

              Show
              tsala Helen Foster added a comment - Thanks everyone for your comments and votes. Increasing priority and setting a fix version of DEV backlog for the issue to be considered for inclusion in the next version of Moodle.
              Hide
              alrachels AL Rachels added a comment -

              I have been bored due to rain for the last few days so I have been learning php and Moodle API. I now have a working Nanogong Text Filter for Moodle 2.1+. I guess it will probably work on 2.03 but I don't have one setup to test it. I have been making the Nanogong sound files in My Mooodle 1.9.12+ and then uploaded them into Moodle 2.1 repositories, forums, topic areas, and test questions and the files work perfectly like they do in the same areas of Moodle 1.9.

              I have also been working on getting the old GSOC2009 Nanogong repository updated so I can record directly in Moodle 2 but I am stuck. I can create the repository but have not been able to figure out how to get the recorder to pop up for use. The actual code I'm having trouble with is : 'iframe' => $CFG->wwwroot . '/repository/nanogong/record.php?repo_id=' . $this->id,

              Anybody have any ideas for me?

              Show
              alrachels AL Rachels added a comment - I have been bored due to rain for the last few days so I have been learning php and Moodle API. I now have a working Nanogong Text Filter for Moodle 2.1+. I guess it will probably work on 2.03 but I don't have one setup to test it. I have been making the Nanogong sound files in My Mooodle 1.9.12+ and then uploaded them into Moodle 2.1 repositories, forums, topic areas, and test questions and the files work perfectly like they do in the same areas of Moodle 1.9. I have also been working on getting the old GSOC2009 Nanogong repository updated so I can record directly in Moodle 2 but I am stuck. I can create the repository but have not been able to figure out how to get the recorder to pop up for use. The actual code I'm having trouble with is : 'iframe' => $CFG->wwwroot . '/repository/nanogong/record.php?repo_id=' . $this->id, Anybody have any ideas for me?
              Hide
              timhunt Tim Hunt added a comment -

              It is likely to be hard to get the recorder to pop-up in the file-picker. I believe that iframe option may not be properly implemented because none of the other repositories use it. (It used to work, then it got broken by other changes.). So, it will require hairy debugging in the filepicker code, which is not simple.

              Of, course, very worthwhile to get it working. So good luck!

              Show
              timhunt Tim Hunt added a comment - It is likely to be hard to get the recorder to pop-up in the file-picker. I believe that iframe option may not be properly implemented because none of the other repositories use it. (It used to work, then it got broken by other changes.). So, it will require hairy debugging in the filepicker code, which is not simple. Of, course, very worthwhile to get it working. So good luck!
              Hide
              glenmontes Glen Antonio Montes added a comment -

              Thanks!

              Show
              glenmontes Glen Antonio Montes added a comment - Thanks!
              Show
              nakohdo Frank Ralf added a comment - There has been quite some progress lately. See the following threads: Dataform module beta with a Nanogong field Online Audio Recording - free Flash-based record & upload assignment P3 Quickie - a new MP3 voice recorder for Moodle 1.9 and Moodle 2.x to record 20-second "quickies" Release of NanoGong 4.1, an important update for Moodle users
              Hide
              bkimcoe bkimcoe added a comment -

              What is the prospect for nanogong for moodle 2.0+?

              Show
              bkimcoe bkimcoe added a comment - What is the prospect for nanogong for moodle 2.0+?
              Hide
              paaskynen Paul Nijbakker added a comment -

              I would really like to see this NanoGong repository work, as it comes closest to the functionality the 1.9 NanoGong plugin provides and I am willing to put (some of) my money where my vote is. I have some change left over from the Christmas shopping spree. Where and how can I donate it towards the completion of this repository?

              Show
              paaskynen Paul Nijbakker added a comment - I would really like to see this NanoGong repository work, as it comes closest to the functionality the 1.9 NanoGong plugin provides and I am willing to put (some of) my money where my vote is. I have some change left over from the Christmas shopping spree. Where and how can I donate it towards the completion of this repository?
              Hide
              paaskynen Paul Nijbakker added a comment -

              This tracker issue could be combined with http://tracker.moodle.org/browse/CONTRIB-2174

              Show
              paaskynen Paul Nijbakker added a comment - This tracker issue could be combined with http://tracker.moodle.org/browse/CONTRIB-2174
              Hide
              jhunt Justin Hunt added a comment -

              I have just finished a Moodle audio/video recording repository over at http://www.poodll.com . I think it does the job nicely. It uses flash/red5. The Red5 server is in the "cloud" (ooooh) over at Amazon EC2 so users don't need to install Red5 and it tunnels nicely through a firewall. It is all open source and free. I am not charging for the Amazon EC2 usage, though I hope to recoup some of those costs via donations.

              Along the way I had a good look at the nanogong recorder and I think managed to get it just a short hop from working. The recorder shows and records and playsback. From now Moodle just needs to pick up that recording. I think it is just plumbing from here.The problem was that it needed to show itself in an iframe, but that functionality has been removed from the repository API. Well as it happens I found that there is another way to use an iframe, and that is how the PoodLL repository now works. ( I pass the iframe code into the label section of the login form.) If people are still interested in the nanogong repository I can finish it up or give me code to someone (who?).

              Show
              jhunt Justin Hunt added a comment - I have just finished a Moodle audio/video recording repository over at http://www.poodll.com . I think it does the job nicely. It uses flash/red5. The Red5 server is in the "cloud" (ooooh) over at Amazon EC2 so users don't need to install Red5 and it tunnels nicely through a firewall. It is all open source and free. I am not charging for the Amazon EC2 usage, though I hope to recoup some of those costs via donations. Along the way I had a good look at the nanogong recorder and I think managed to get it just a short hop from working. The recorder shows and records and playsback. From now Moodle just needs to pick up that recording. I think it is just plumbing from here.The problem was that it needed to show itself in an iframe, but that functionality has been removed from the repository API. Well as it happens I found that there is another way to use an iframe, and that is how the PoodLL repository now works. ( I pass the iframe code into the label section of the login form.) If people are still interested in the nanogong repository I can finish it up or give me code to someone (who?).
              Hide
              salvetore Michael de Raadt added a comment -

              There are now a number of working examples of audio (and video) recording add-ons in the Plugins Directory.

              https://moodle.org/plugins/search.php?s=record+audio&search=Search+plugins

              It could be argued that one of these could be distributed as a standard plugin, but I would argue against this as it is now easier than ever to install add-ons.

              Show
              salvetore Michael de Raadt added a comment - There are now a number of working examples of audio (and video) recording add-ons in the Plugins Directory. https://moodle.org/plugins/search.php?s=record+audio&search=Search+plugins It could be argued that one of these could be distributed as a standard plugin, but I would argue against this as it is now easier than ever to install add-ons.
              Hide
              hinkelman Don Hinkelman added a comment - - edited

              While it is true that there are many choices of recording plugins and they are easy to install, we have Moodle Partners who charge USD 700 to install/support one non-standard plugin per year. A standard plugin would greatly reduce costs.

              Show
              hinkelman Don Hinkelman added a comment - - edited While it is true that there are many choices of recording plugins and they are easy to install, we have Moodle Partners who charge USD 700 to install/support one non-standard plugin per year. A standard plugin would greatly reduce costs.
              Hide
              joeyandres Joey Andres added a comment -

              Mark Nelson or Dan Poltawski,

              Is this thing still being worked on. I'd like to assign myself (I can, I just don't know if it's right even though this have been dead for years). I'm very sure I can produce something clean here.

              Show
              joeyandres Joey Andres added a comment - Mark Nelson or Dan Poltawski , Is this thing still being worked on. I'd like to assign myself (I can, I just don't know if it's right even though this have been dead for years). I'm very sure I can produce something clean here.
              Hide
              joeyandres Joey Andres added a comment -

              The solution I offer is to use https://github.com/g200kg/WAAPISim, which is an abstraction above 'Web Audio API and flash'. Base on http://caniuse.com/#search=web%20audio%20api, Almost all browsers, except ie's, opera mini (opera works well), and android < 5 supports Web Audio APi. For other browsers, WAAPISim goes to flash.

              Show
              joeyandres Joey Andres added a comment - The solution I offer is to use https://github.com/g200kg/WAAPISim , which is an abstraction above 'Web Audio API and flash'. Base on http://caniuse.com/#search=web%20audio%20api , Almost all browsers, except ie's, opera mini (opera works well), and android < 5 supports Web Audio APi. For other browsers, WAAPISim goes to flash.
              Hide
              timhunt Tim Hunt added a comment -

              I think it is safe to assign this to yourself. Probably best, in the first instance, to put your plugin in the plugins DB https://moodle.org/plugins/

              Show
              timhunt Tim Hunt added a comment - I think it is safe to assign this to yourself. Probably best, in the first instance, to put your plugin in the plugins DB https://moodle.org/plugins/
              Hide
              joeyandres Joey Andres added a comment - - edited

              Tim Hunt For sure. I can pump one out tonight (Canada) so you folks can review it as soon as possible.

              Edit: Not possible tonight. The custom upload/recorder was caused me to do hours of investigation, thus not your typical repo plugin. Either way I found a very clean solution, hidden in repository/lib.php, in which if your repository subclass declares get_upload_template, the return of such method is the custom template.

              Now that custom template overwrites the uploadform. An easy solution is:

              M.core_filepicker.templates[template_name] = M.core_filepicker.templates[template_name] || '';
              var template = M.core_filepicker.templates[template_name] + M.core_filepicker.templates['uploadform'];

              in filepicker.js

              Still playing around, and in case you want to comment on my foundings, feel free.

              Show
              joeyandres Joey Andres added a comment - - edited Tim Hunt For sure. I can pump one out tonight (Canada) so you folks can review it as soon as possible. Edit: Not possible tonight. The custom upload/recorder was caused me to do hours of investigation, thus not your typical repo plugin. Either way I found a very clean solution, hidden in repository/lib.php, in which if your repository subclass declares get_upload_template, the return of such method is the custom template. Now that custom template overwrites the uploadform. An easy solution is: M.core_filepicker.templates [template_name] = M.core_filepicker.templates [template_name] || ''; var template = M.core_filepicker.templates [template_name] + M.core_filepicker.templates ['uploadform'] ; in filepicker.js Still playing around, and in case you want to comment on my foundings, feel free.
              Hide
              cameron1729 Cameron Ball added a comment -

              Hi,

              Fred sent me this way. FWIW I've been working on a JavaScript voice recorder for my project weeks at moodle HQ. It's mostly completed and will probably end up on the plugins DB. Still needs a small amount of polish though. I could probably put the branch up here but I'm not 100% sure the plugin is suitable for core. It uses some "cutting edge" browser APIs.

              Show
              cameron1729 Cameron Ball added a comment - Hi, Fred sent me this way. FWIW I've been working on a JavaScript voice recorder for my project weeks at moodle HQ. It's mostly completed and will probably end up on the plugins DB. Still needs a small amount of polish though. I could probably put the branch up here but I'm not 100% sure the plugin is suitable for core. It uses some "cutting edge" browser APIs.
              Hide
              joeyandres Joey Andres added a comment - - edited

              @Cameron Ball, Is it something to do with the new HTML 5 API? It actually have 75% browser coverage base on this: http://caniuse.com/#search=web%20audio%20api. But still missing IE. The js module I intend to use will fallback to flash just in case, but otherwise uses HTML 5 API. Either way, I'm working on this because the University I'm working for intend to have one.

              Show
              joeyandres Joey Andres added a comment - - edited @Cameron Ball, Is it something to do with the new HTML 5 API? It actually have 75% browser coverage base on this: http://caniuse.com/#search=web%20audio%20api . But still missing IE. The js module I intend to use will fallback to flash just in case, but otherwise uses HTML 5 API. Either way, I'm working on this because the University I'm working for intend to have one.
              Hide
              cameron1729 Cameron Ball added a comment -

              Yes, but MediaDevices.getUserMedia() is not finalised yet. I'm not sure if moodle has some strict policy against it, but I suspect shipping something subject to change in future browser versions may not be a wise decision.

              That WAAPISim project seems cool, but waapisim.js is really a mess :\ I wrote reusable AMD modules for my project which we can easily pass around all over moodle.

              As Tim says, probably best to put your plugin on the plugins DB first :] Good luck!

              Show
              cameron1729 Cameron Ball added a comment - Yes, but MediaDevices.getUserMedia() is not finalised yet. I'm not sure if moodle has some strict policy against it, but I suspect shipping something subject to change in future browser versions may not be a wise decision. That WAAPISim project seems cool, but waapisim.js is really a mess :\ I wrote reusable AMD modules for my project which we can easily pass around all over moodle. As Tim says, probably best to put your plugin on the plugins DB first :] Good luck!
              Hide
              hinkelman Don Hinkelman added a comment -

              Great to see some movement on this issue. Actually, audio recording and video recording are absolutely esssential to language teaching, and it is odd that there has been no standard plugin for 14 years--or should I say the last seven years since this request was posted in 2009. But language teachers cannot wait for HQ so we have made some excellent plugins. I hope, Joey, you are building upon those plugins. Some plugins have come and gone (Nanogong, in particular). And some have gotten stronger and stronger (see Justin Hunt's post here and check out the PoodLL site). Justin and many second language teachers were hoping his plugin would be accepted as standard, because it is so good, and because he is so committed (more than five years of constant updates and maintanance). I don't know why it was not accepted, but I am just hoping that the great work from those have gone before is not ignored. Also, I am worried that your efforts might even get ignored by HQ like in the past, which would be sad.

              Show
              hinkelman Don Hinkelman added a comment - Great to see some movement on this issue. Actually, audio recording and video recording are absolutely esssential to language teaching, and it is odd that there has been no standard plugin for 14 years--or should I say the last seven years since this request was posted in 2009. But language teachers cannot wait for HQ so we have made some excellent plugins. I hope, Joey, you are building upon those plugins. Some plugins have come and gone (Nanogong, in particular). And some have gotten stronger and stronger (see Justin Hunt's post here and check out the PoodLL site). Justin and many second language teachers were hoping his plugin would be accepted as standard, because it is so good, and because he is so committed (more than five years of constant updates and maintanance). I don't know why it was not accepted, but I am just hoping that the great work from those have gone before is not ignored. Also, I am worried that your efforts might even get ignored by HQ like in the past, which would be sad.

                Dates

                • Created:
                  Updated: