E-Lang

Activities ::: mod_elang
Maintained by Christophe Demko
A moodle module for learning foreign languages
Latest release:
54 sites
14 downloads
20 fans
Current versions available: 3

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

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

Comments RSS

Pokaži komentarje
  • Matt Polaniecki
    pon.., 25. apr.. 2016, 22.52
    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.
  • Christophe Demko
    tor.., 26. apr.. 2016, 03.02
    @Matt, I've just published a new version 1.2.0 compatible with moodle 3.0.
  • Matt Polaniecki
    sre.., 27. apr.. 2016, 00.31
    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?
  • Christophe Demko
    sre.., 27. apr.. 2016, 15.18
    Simply unselect the current caption by clicking on it and play the video
  • Christophe Demko
    pon.., 4. jul.. 2016, 04.05
    We are pleased to announce the publication of version 1.3.0
  • Lydia Lymps
    pon.., 3. okt.. 2016, 07.28
    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...
  • Christophe Demko
    pon.., 3. okt.. 2016, 17.03
    Hi Lydia, did you save your srt file in utf-8 format?
  • Lydia Lymps
    pon.., 3. okt.. 2016, 19.28
    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
    sre.., 5. okt.. 2016, 06.45
    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
    sob.., 15. okt.. 2016, 12.36
    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
  • Christophe Demko
    sre.., 19. okt.. 2016, 18.09
    @Clay, I'v just upload a new version. There was an empty folder in the zip file that causes this issue.
  • Ibrahim Fadl
    čet.., 3. nov.. 2016, 20.46
    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()
  • Ibrahim Fadl
    pet.., 4. nov.. 2016, 16.05
    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()
  • Tiago Ferreira
    sre.., 21. feb.. 2018, 07.52
    Hello. When I add the subtitlle, which is in srt in UTF-8 format, I always get an error message saying "Invalid subtitle file format". I saw Lydia asking the same thing, but I dont know if she has solved the problem. Does anyone could help me on that? Thanks
  • Christophe Demko
    pon.., 10. sep.. 2018, 21.57
    mod_elang 1.3.5 for moodle 3.4 and 3.5 is now published.

    It displays the errors detected in srv/vtt files.
1 2 3
Please login to post comments