How can I embed a video player in moodle?

  • I have video files that will be played with a video player.
  • I want to embed a video player in my script that will play these video files in moodle 1.9.
  • I cannot upload these video files to some hosting sites because they are copy protected.

How can I achieve this?

+2


a source to share


2 answers


Dinesh,

You have not specified what type of video files you are using, or the type of media player you prefer. If it's a generic mpeg, flv, avi, m4v, quicktime or realplayer format, then the media filters built into moodle can help you. Moodle can detect links to media files and replace them with the built-in player.

http://docs.moodle.org/en/Multimedia_plugins

Here's how to do it:

Enable Modules / Filters / Multimedia Filter Then customize with modules / filters / multimedia plugins



Upload a video file to a moodle course or the files area of ​​the home page. You may have to do this directly in your moodledata directory on your server if the file is too large to upload using web upload.

Then add a normal link, for example <a href = "my-video.flv"> myvideo </a>. You can do this almost anywhere moodle allows you to enter rich text.

So, you can add it to your course page by adding a link to the topic description in the course, or by creating a separate moodle web page resource that includes a similar link.

When you enable media filters, moodle will try to replace the media link with the appropriate built-in media player.

This works well for short video clips and audio, but longer video files may require a more complex solution and performance will depend on how you host your site.

+2


a source


You can use moodle-mplayer Activity ( http://code.google.com/p/moodle-mplayer/ ).

Once you've installed it on your server, you can add a new activity that will allow you to add videos to your courses + set specific video-related parameters for each one.



By the way, there is a Kaltura plugin for Moodle that might interest you. http://www.kaltura.org/kaltura-moodle-plugin-installation-guide

0


a source







All Articles