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

Media Player: Difference between revisions

From MoodleDocs
No edit summary
Line 39: Line 39:
It also supports the new standard high-definition CODEC, H.264, and AAC audio (Advanced Audio Compression) which is similar to MP3 but gives better quality at very low bit-rates.
It also supports the new standard high-definition CODEC, H.264, and AAC audio (Advanced Audio Compression) which is similar to MP3 but gives better quality at very low bit-rates.


==Captioning==
The FLV Player module makes it much easier to deploy captions with the JW FLV Player. Simply do the following:
* Prepare the video and TimedText (RealText is also supported) files.
* Upload them to the moodledata course directory (you can also upload these from the FLV Player module form)
* Create an instance of the FLV Player module and select the video file and desired parameters.
* Select Show Advanced if not already shown.
* At the bottom of the Behaviour section, type accessibility-1 into the Plugins text input area.
* Select Choose or upload file in the Timed Text Captions input area and select or upload and select the desired TimedText captions file.
* Select Save changes (Moodle 1.8) or Save changes and preview (Moodle 1.9)
Here are example [http://matbury.com/assets/captions_example.zip FLV video and TimedText caption XML] to download and try (7.75 MB).
[http://ncam.wgbh.org/webaccess/magpie/magpie_help/introduction.html MAGpie2 captioning editor] can export Adobe Flash WC3 DFXP captioning files which are compatible with JW FLV Player accessibility-1 plugin. However, the editor cannot play FLV files therefore an intermediary video file type, such as AVI, is necessary for creating caption files, i.e. create and export the caption file before encoding the video to FLV.
==Streaming==
There are two main types of video connection, '''progressive download''', where the video FLV file is downloaded into the browser cache and the user can start to view the video content after a second or two, and '''streaming''', where specific portions of the video stream are served to the video player as and when requested. Progressive download is the easiest to implement and the most commonly used.
The JW FLV Player supports:
* Progressive download (default)
* [http://www.longtailvideo.com/support/tutorials/HTTP-Video-Streaming HTTP streaming] (pseudo-streaming)
* [http://www.lighttpd.net/ LIGHTTP] streaming
* [http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol RTMP] streaming ([http://www.osflash.org/red5 Red5] and [http://en.wikipedia.org/wiki/Flash_Media_Server Flash Media Server])
==Playing YouTube.com Videos==
Playing videos directly from YouTube.com's servers is possibly the easiest way to play videos with the FLV Player Activity Module. Just follow these steps:
* Find the video you want to show on YouTube.com
* On a Moodle course page, select 'FLV Player' from the 'Add an activity...' list
* On the YouTube.com video page, copy the URL in your browser's address bar, e.g. http://www.youtube.com/watch?v=5lp1-OrycKs
* Now paste the URL in the 'Video URL' text field of the FLV Player form
* Select 'Show Advanced' if not already set
* Select 'youtube' from the 'Type' list
* Select 'Save Changes' (Moodle 1.8) or 'Save and Preview' (Moodle 1.9) at the bottom of the FLV Player form
* The YouTube.com video should play and all the parameters, such as icons, links, etc. will still function.


==Skins==
==Skins==
Line 104: Line 62:


There are also subscription and paid for plugin services available. [http://www.longtailvideo.com/addons/plugins Find documentation and further details here.]
There are also subscription and paid for plugin services available. [http://www.longtailvideo.com/addons/plugins Find documentation and further details here.]
==Module Form==
The module form allows users to set most of the parameters supported by JW FLV Player 4.3. [http://developer.longtailvideo.com/trac/wiki/FlashVars You can find documentation on the following parameters here.]
===Source===
* '''flvfile''' 'Video URL'
* '''type''' 'Type'
* '''streamer''' 'Streamer'
===Appearance===
* '''width''' 'Width'
* '''height''' 'Height'
* '''skin''' 'Skin'
* '''image''' 'Image'
* '''icons''' 'Icons'
* '''logo''' 'Logo'
* '''controlbar''' 'Control Bar'
* '''playlist''' 'Play List (position)'
* '''playlistsize''' 'Play List Size (pixels)'
* '''backcolor''' 'Back Color'
* '''frontcolor''' 'Front Color'
* '''lightcolor''' 'Light Color'
* '''screencolor''' 'Screen Color'
===Behaviour===
* '''autostart''' 'Auto Start'
* '''fullscreen''' 'Full Screen'
* '''volume''' 'Volume'
* '''mute''' 'Mute'
* '''flvstart''' 'Start (position in seconds)'
* '''duration''' 'Duration (seconds)'
* '''flvrepeat''' 'Repeat'
* '''shuffle''' 'Shuffle'
* '''bufferlength''' 'Buffer Length (seconds)'
* '''quality''' 'Quality'
* '''displayclick''' 'Display Click'
* '''link''' 'Link'
* '''linktarget''' 'Link Target'
* '''item''' 'Item'
* '''resizing''' 'Resizing'
* '''stretching''' 'Stretching'
* '''plugins''' 'Plugins'
* '''captions''' 'Timed Text Captions'
===Metadata===
* '''author''' 'Author'
* '''flvdate''' 'Date'
* '''title''' 'Title'
* '''description''' 'FLV Description'
* '''tags''' 'Tags'
===Advanced===
* '''configxml''' 'Config XML File'
* '''version''' 'JW Player Version'
* '''client''' 'Client'
* '''tracecall''' 'Trace Call (debugging)'
* '''flvid''' 'ID (For Linux OS Users Only)'
* '''abouttext''' 'About Text'
* '''aboutlink''' 'About Link'




==Issues==
==Issues==


If you have any problems or issues with the FLV Player module, please list them, as clearly as you can, here.
Please report any bugs or issues on the [http://code.google.com/p/moodle-mplayer/issues/list Media Player module project issues tracker].
 
* Does not have a backup.php or a restore.php file. This indicates that FLV activities will not be backed up or restored when these processes are run.
 
==Resolved Issues==


* Browsers cached video files, images, icons and XML files. Users still saw old (cached files) after they had been updated on the server. The FLV Player Activity Module now prevents caching.


==See Also==
==See Also==

Revision as of 16:27, 20 August 2010

Summary

The JW FLV Player 5.1 is a powerful and extremely versatile application for viewing video on web pages. The Media Player module acts as a wizard to deploy and configure the JW FLV Player. It doesn't require any coding abilities and is possibly the quickest, easiest, most comprehensive and robust method of deploying and configuring video in Moodle.


flv player.jpg


Download

The project code and documentation are hosted on Google Code at: http://code.google.com/p/moodle-mplayer/

The most recent downloads and documentation are available there.


Jeroen Wijering's FLV Player is an ideal method to deploy Flash video in Moodle. It's extremely versatile and supports a number of features that are particularly useful for e-learning:

  • Section 508 (accessibility) compliance.
  • Support for TimedText XML and RealText (SMIL) captioning.
  • A selection of plugins and skins are available.
  • Developers can create their own skins and plugins.

License

Although this Moodle module is open source, Jeroen Wijering's FLV player, included within, is not open source. It is commercial software which is available free for noncommercial use, but requires a (small) license payment for all other use. Please see Jeroen Wijering's web site for licensing details.


Supported Video Formats

Supports all video formats supported by Flash Player 9 and above. Currently (5th February 2009) file types:

  • FLV
  • MP4
  • M4V
  • M4A
  • 3GP
  • MOV

It also supports the new standard high-definition CODEC, H.264, and AAC audio (Advanced Audio Compression) which is similar to MP3 but gives better quality at very low bit-rates.


Skins

Skins are a quick and easy way to change the appearance of JW FLV Player. The FLV Player Activity Module comes supplied with 27 skins which you can select from a list.


Plugins

Plugins add extra functionality to JW FLV Player. They are hosted on LongTail video's website so no downloading or installing is necessary. The Media Player setup wizard includes specific configuration panels which make deploying plugins as easy as possible. See the Media Player project site wiki for documentation. Supported plugins are:

  • Audiodescription External audio track synchronised with video
  • Captions SMIL TimedText and SubRip captions which are more flexible and easier to read that embedded subtitles
  • HD Users can switch between high-definition and normal video streams
  • Infobox Convenient way to display credits and info about video
  • Livestream No need to keep refreshing the web page while you're waiting for a live broadcast, polls the live server every few seconds
  • Logobox Put your logo on your videos
  • Metaviewer View video stream metadata (debugging and info tool)
  • Searchbar Search for videos, YouTube.com by default, can be used with custom search scripts
  • Snapshot Take a still frame "snapshot" of a video and save it in the course files directory

There are also subscription and paid for plugin services available. Find documentation and further details here.


Issues

Please report any bugs or issues on the Media Player module project issues tracker.


See Also

(*) MAGpie2 can export TimedText caption files for JW FLV Player but its video player does not support the FLV file type. It is therefore necessary to use an intermediary video file type, such as AVI, in order to create the captions.

Other Projects by Matt Bury

  • Development:SWF SWF Activity Module, in development, which will enable deployment of Flash and Flex Framework learning applications (RIAs) in Moodle and leverage AMFPHP (Flash Remoting).