-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Videofile.

Videofile: Difference between revisions

From MoodleDocs
m (added IE10 as a working browser for captions)
m (added links to wikipedia pages and tidy up)
Line 3: Line 3:
==Use==
==Use==
* In most cases it should be enough to add [http://en.wikipedia.org/wiki/Mp4 .mp4] video files, which will then play in an [http://en.wikipedia.org/wiki/HTML5 html5] player on most browsers and in a [http://en.wikipedia.org/wiki/Flash_player flash player] in older browsers.  
* In most cases it should be enough to add [http://en.wikipedia.org/wiki/Mp4 .mp4] video files, which will then play in an [http://en.wikipedia.org/wiki/HTML5 html5] player on most browsers and in a [http://en.wikipedia.org/wiki/Flash_player flash player] in older browsers.  
* You can add alternative formats in order to be sure it can play regardless of which browser is being used (usually [http://en.wikipedia.org/wiki/Mp4 .mp4], [http://en.wikipedia.org/wiki/.ogv .ogv] and [http://en.wikipedia.org/wiki/.webm .webm] covers it.)
* You can add alternative formats in order to be sure it can play regardless of which browser is being used (usually [http://en.wikipedia.org/wiki/Mp4 .mp4], [http://en.wikipedia.org/wiki/.ogv .ogv] and [http://en.wikipedia.org/wiki/.webm .webm] covers it).
* As of 2013, the most widely supported video format on the web is [http://en.wikipedia.org/wiki/Mp4 .mp4] with the [http://es.wikipedia.org/wiki/H264 h.264] CODEC. It'll play in Flash based media players as well as in [http://en.wikipedia.org/wiki/HTML5 html5] players in iOS and Android.
 
* There are several good free open source video converters, such as [http://handbrake.fr/ handbrake].


==Captions==
==Captions==

Revision as of 14:44, 3 September 2013

Videofile is a Moodle 2.5+ resource plugin intended to provide teachers with easy handling of cross-browser compatible videos using Video.js.

Use

  • In most cases it should be enough to add .mp4 video files, which will then play in an html5 player on most browsers and in a flash player in older browsers.
  • You can add alternative formats in order to be sure it can play regardless of which browser is being used (usually .mp4, .ogv and .webm covers it).
  • As of 2013, the most widely supported video format on the web is .mp4 with the h.264 CODEC. It'll play in Flash based media players as well as in html5 players in iOS and Android.
  • There are several good free open source video converters, such as handbrake.

Captions

  • Videofile and Video.js also support WebVTT captions.
  • You can add several files in order to provide multilingual captions.
  • You can check the validity of your WebVTT captions with the http://quuz.org/webvtt/ validator created by Anne van Kesteren.

Captions file naming

  • The file names, without extensions, will be used for the video caption option titles.
  • If the files are named according to ISO 6392 (e.g. eng.vtt fra.vtt tlh.vtt and swe.vtt) the options will be shown as the corresponding full language names according to the user's language preferences (e.g. English French Klingon and Swedish, assuming the user's preferred language is set to English).
  • If you include a caption file with a name different from ISO 6392 (e.g. calo.vtt) , the caption language name will be shown enclosed in double square brackets.

Captions available

  • Captions work well with the following Windows browsers: Firefox, Chrome, Safari, IE10.
  • Captions work well with the following Mac browsers: Firefox, Chrome, Safari
  • Captions work well in Ubuntu Linux using Firefox.

Captions not available

  • Captions are not available in iPads with iOS6 using Safari.

Poster image

Videofile and Video.js also support a poster image that displays before the video is started.

Download

You can download this add-on from https://moodle.org/plugins/pluginversions.php?plugin=mod_videofile