E-Lang

Activities ::: mod_elang
Maintained by Christophe Demko
A moodle module for learning foreign languages
Latest release:
51 sites
22 downloads
20 fans
Moodle 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1

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

Afficher les commentaires
  • Matt Polaniecki
    %a 04/25/2016DHH25HHDD %b %Y, %H:%M
    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
    %a 04/26/2016DHH26HHDD %b %Y, %H:%M
    @Matt, I've just published a new version 1.2.0 compatible with moodle 3.0.
  • Matt Polaniecki
    %a 04/27/2016DHH27HHDD %b %Y, %H:%M
    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
    %a 04/27/2016DHH27HHDD %b %Y, %H:%M
    Simply unselect the current caption by clicking on it and play the video
  • Christophe Demko
    %a 07/04/2016DHH 4HHDD %b %Y, %H:%M
    We are pleased to announce the publication of version 1.3.0
  • Lydia Lymps
    %a 10/03/2016DHH 3HHDD %b %Y, %H:%M
    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
    %a 10/03/2016DHH 3HHDD %b %Y, %H:%M
    Hi Lydia, did you save your srt file in utf-8 format?
  • Lydia Lymps
    %a 10/03/2016DHH 3HHDD %b %Y, %H:%M
    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
    %a 10/05/2016DHH 5HHDD %b %Y, %H:%M
    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
    %a 10/15/2016DHH15HHDD %b %Y, %H:%M
    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
    %a 10/19/2016DHH19HHDD %b %Y, %H:%M
    @Clay, I'v just upload a new version. There was an empty folder in the zip file that causes this issue.
  • Ibrahim Fadl
    %a 11/03/2016DHH 3HHDD %b %Y, %H:%M
    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
    %a 11/04/2016DHH 4HHDD %b %Y, %H:%M
    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
    %a 02/21/2018DHH21HHDD %b %Y, %H:%M
    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
    %a 09/10/2018DHH10HHDD %b %Y, %H:%M
    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