Activities: E-Lang

mod_elang
Maintained by Picture of Christophe Demko Christophe Demko
A moodle module for learning foreign languages
89 sites
378 downloads
6 fans
Moodle 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9

This activity module allows the creation of exercises for learning foreign languages. An exercise is mainly composed of 2 files: a video file and a subtitles file. The subtitles file use either the .srt or .vtt syntax. In this file, text between square/curly brackets have to be guessed by the student (square brackets will propose an help button to the student).

For testing: install the module and use video files here http://framatube.org/media/presentation-des-licences-creative-commons-avec-cc (mp4 for Safari and Internet Explorer, webm or ogv or mp4 for Google Chrome and webm and ogv  for Firefox) (See http://creativecommons.org/videos/creative-commons-kiwi for attributions) and this file http://download.chdemko.com/moodle/mod_elang/Creative_Commons_Kiwi-guess.fr.srt for the subtitles.

Unfortunately, only Google Chrome >= 31, Firefox >= 35, Internet Explorer >= 10 and Safari >= 7.1 browsers support the HTML5 features used in this module.

A demo site is available here.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Christophe Demko
Christophe Demko (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Matt Polaniecki
    Mon, 18 Apr 2016, 11:24 PM
    Is this really not compatible for 3.0?
  • Picture of Christophe Demko
    Mon, 18 Apr 2016, 11:53 PM
    I have not tested on a 3.0 moodle site but I think it will do the job. I've planned to release a new version before end of June. Compatibility tests will be done at that moment.
  • Picture of Matt Polaniecki
    Mon, 25 Apr 2016, 10:52 PM
    Thanks Christophe! I tried installing it on my 3.0 site and it wouldn't even let me complete the upgrade, there were issues.

    Plugin "mod_elang" is defective or outdated, can not continue, sorry.

    More information about this error
    Debug info: Unsupported $module syntax detected in version.php
    Error code: detectedbrokenplugin
    Stack trace:

    line 612 of /lib/upgradelib.php: plugin_defective_exception thrown
    line 427 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1641 of /lib/upgradelib.php: call to upgrade_plugins()
    line 677 of /admin/index.php: call to upgrade_noncore()

    If you have any quick fix ideas, i would love to implement this asap. I love this plugin but unfortunately have to use a 3.0 version of moodle.
  • Picture of Christophe Demko
    Tue, 26 Apr 2016, 3:02 AM
    @Matt, I've just published a new version 1.2.0 compatible with moodle 3.0.
  • Picture of Matt Polaniecki
    Wed, 27 Apr 2016, 12:31 AM
    Thank you so much for this update! I installed and it works great. How can I set up the video file to just play through with the captions on the side? Right now it pauses after every line?
  • Picture of Christophe Demko
    Wed, 27 Apr 2016, 3:18 PM
    Simply unselect the current caption by clicking on it and play the video
  • Picture of Christophe Demko
    Mon, 4 Jul 2016, 4:05 AM
    We are pleased to announce the publication of version 1.3.0
  • Picture of Lydia Lymps
    Mon, 3 Oct 2016, 7:28 AM
    Hi, I have just installed the module, and uploaded an MP4 video. However, when I'm trying to upload the an .srt file (with square brackets around the words I want the students to guess), it says that the subtitle file format is invalid. This is an .srt file that I downloaded from the internet (of a youtube video) and just made a few amendments (plus added the square brackets). What am I doing wrong? I edited the file in Text Edit on Mac and then just hit Save (I'm assuming it saves it in the same format?)

    Ps: I'm completely new to this...
  • Picture of Christophe Demko
    Mon, 3 Oct 2016, 5:03 PM
    Hi Lydia, did you save your srt file in utf-8 format?
  • Picture of Lydia Lymps
    Mon, 3 Oct 2016, 7:28 PM
    Hi Christophe, thanks for your swift response. I've now also switched to a PC and using PSPad to edit the downloaded .st file. I choose UTF-8 from Format, then All files, hit Save and when I attempt to upload I get the same message. Does it matter that the video clip is 2:38 and the subtitles go up to 2.36 only? What else do you think I could be doing wrong?
  • cb userpic w harvey
    Wed, 5 Oct 2016, 6:45 AM
    Hi, FYI, Moodle 3.1.2 install failed. Message:

    Install plugins from the Moodle plugins directory

    Debugging output enabled
    Downloading mod_elang ...
    <- https://moodle.org/plugins/download.php/11676/mod_elang_moodle31_2016070301.zip
    -> /var/www/moodledata/temp/core_plugin/code_manager/distfiles/8799de7a6a8109fe915a4ba45bdc0a92.zip ... OK
    Validating mod_elang ... Error
    [Error] Extracted file not found [{"file":"elang\/vendor\/bin\/"}]
    Installation aborted due to validation failure
  • cb userpic w harvey
    Sat, 15 Oct 2016, 12:36 PM
    Still can't install in 3.1.2. Tried downloading and installing via upload, choosing Mod folder. Same error as above:

    [Error] Extracted file not found [{"file":"elang\/vendor\/bin\/"}]
    Installation aborted due to validation failure
  • Picture of Christophe Demko
    Wed, 19 Oct 2016, 6:09 PM
    @Clay, I'v just upload a new version. There was an empty folder in the zip file that causes this issue.
  • Picture of Ibrahim Fadl
    Thu, 3 Nov 2016, 8:46 PM
    hi I have just installed the plugin stable-1.3.1 (2016101901)
    I uploaded the video with subtitles and here is the error when I launched it

    Debug info: Unexpected manual completion state for 2384: -1
    Error code: err_system

    × Stack trace: •line 1316 of \lib\completionlib.php: moodle_exception thrown
    •line 565 of \lib\completionlib.php: call to completion_info->internal_systemerror()
    •line 47 of \mod\elang\view.php: call to completion_info->update_state()
  • Picture of Ibrahim Fadl
    Fri, 4 Nov 2016, 4:05 PM
    hi I have just installed the plugin stable-1.3.1 (2016101901)
    I uploaded the video with subtitles and here is the error when I launched it

    Debug info: Unexpected manual completion state for 2384: -1
    Error code: err_system

    × Stack trace: •line 1316 of \lib\completionlib.php: moodle_exception thrown
    •line 565 of \lib\completionlib.php: call to completion_info->internal_systemerror()
    •line 47 of \mod\elang\view.php: call to completion_info->update_state()
1 2 3
Please login to post comments