Select Moodle version:

Activities: Videofile

Easy cross-browser compatibility videos using Video.js.
Maintained by: Picture of Jonas Nockert Jonas Nockert
for Moodle
2.4, 2.5, 2.6

Videofile is a Moodle 2.4+ resource plugin intended to provide teachers with easy handling of cross-browser compatible videos using Video.js. In most cases it should be enough to add .mp4 video files which will then play in an html5 player in modern browsers and in a flash player in older browsers.

Videofile and Video.js also supports WebVTT captions as well as a poster image that displays before the video is started. It works well with responsive themes.




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

Comments RSS

Show comments
  • Picture of Heinz Schmolke
    Tue, Dec 31, 2013, 9:02 AM
    When I try to install I got the message: Error in coding: Trying to reference an unknown block region side post

    Has anyone an idea to solve this?
  • Picture of Heinz Schmolke
    Tue, Dec 31, 2013, 9:32 AM
    I forget: I'm using moodle 2.5.3
  • Picture of Heinz Schmolke
    Thu, Jan 2, 2014, 8:23 AM
    I think it has something to do with my theme "essential". If I try the videofile-version 1.03 I got the same error.
  • Picture of Jonas Nockert
    Fri, Jan 3, 2014, 11:20 PM
    Hi Heinz, I just tried it with the essential theme but I did not have any problems installing.

    I'm using Moodle 2.5.3+ (Build: 20131115), Essential 2013100800 and Videofile 1.04 so we're not running exactly the same software. However, I think it might be something else, are you running any custom blocks?

    Best regards, Jonas
  • Picture of Heinz Schmolke
    Sun, Jan 5, 2014, 4:42 AM
    I changeg the theme to "standard", now I could install "videofile" and it worked, then I changed the theme to "essential" and it worked fine without any error. I don't know what the problem exactly was but now it works.
  • Picture of Balázs Bencs
    Tue, Jan 7, 2014, 4:31 PM
    Great module! smile Thanks!
    Does anyone know a way to disable the draganddrop upload in moodle?
    I'd like to insert only a video URL to this resource type to play in video.js.
    Is it possible or should i find an other solution?
  • Picture of Jonas Nockert
    Tue, Jan 7, 2014, 9:35 PM
    Hi Balázs! Sorry for not replying sooner. It's not possible at the moment. I have to think about this a while, I can definitely see the use but don't know how to implement it with a good user interface.

    Best regards, Jonas
  • Picture of Matt Hobbs
    Tue, Jan 28, 2014, 4:55 PM
    Dear Jonas,

    Great work on the plugin. I'm in the same situation as Aleksander in that I want to prevent the user from downloading the videos. Being able to right-click and choose 'save' is a problem for me. If it's possible to disable this in the next release somehow it would be much appreciated.
  • Picture of A Y
    Thu, Jan 30, 2014, 4:44 AM
    Does anyone know how to change the default fonts for the captions?
  • Picture of Jonas Nockert
    Thu, Jan 30, 2014, 6:24 AM
    A Y, there's no way to do it from within Moodle but I think you should be able to by changing the css of the .vjs-captions class.
  • Picture of A Y
    Thu, Jan 30, 2014, 9:51 PM
    Thanks Jonas! I know I'm going to have to change this at the css level, I'm just really struggling with "where". I tried making changes to the styles.css and video-js.css files, but my changes dont seem to affect anything. Just trying to figure out where the black background with white text is coming from...
  • Picture of Matt Long
    Thu, Feb 20, 2014, 1:31 AM
    Great plugin! We've been looking for something like this for awhile.

    One question--I would like to change the default poster image to our school logo. That way, if a teacher doesn't add their own, it will use our branding (the moodle logo would confuse some of our teachers/students). Is that possible?

    Also, I noticed that if a user has docked blocks on the left of the page, the videoplayer seems to lose the right margin when it loads (that is, it is no longer centered in the content section of the page). This may just be a problem with the theme we're using; just letting you know in case it was happening for others.

    Thanks again!
  • Picture of Shutiri Yarbe
    Thu, Feb 27, 2014, 10:53 AM
    @Matt Long: just go to mod >> videofile >> pix, and save your logo as "moodle-logo.png", replacing the current one.

    Alternatively, you can save a different file, your_logo.png, and modify line 164 of mod >> videofile >> renderer.php accordingly.

  • Picture of Matt Long
    Thu, Feb 27, 2014, 8:57 PM
    Thanks Shutiri! That worked perfectly.

  • Picture of Fritz Richter
    Thu, Apr 10, 2014, 4:37 PM

    As far as I can see, this activity is the only way to get a responsive video player within Moodle out-of-the-box. This is really great! Thanks for this very useful plugin.

    I wonder, if it's possible to use the responsive player in a normal html-area of any activity independently from a own resource.
1 2 3
Please login to post comments