Video Player plugin - Moodle 3.5 Boost theme

Video Player plugin - Moodle 3.5 Boost theme

by Peter Koel -
Number of replies: 6

Hello All,

   My company will be streaming videos from the MS Stream service. I can add a URL resource to my course and link to the video. I have the VideoJS player installed and enabled. How do I get that player to appear in my course and play the video? I do not see an option to display the player in the URL activity.

Sincerely,

Peter

Average of ratings: -
In reply to Peter Koel

Re: Video Player plugin - Moodle 3.5 Boost theme

by Maxime Taisne -

Hi Peter,

The simplest (but not the fastest) way to add your Microsoft Stream video in Moodle would be to use the embed code provided somewhere on the video page and paste it in a piece of HTML somewhere in Moodle (in a label or a web page for instance). If the text editor in Moodle doesn't strip your HTML code, that should work flawlessly.

Another option would be to get a URL pointing to an mp4 version of your Stream video (I don't know if Stream allows that). In this case, just pasting this link in Moodle (using the URL resource or in a piece of text) will embed the video thanks to the multimedia filters of Moodle.

A third possibility would be to create a custom filter which would automatically convert a Stream video URL into an embed code. This would require some development.

I haven't used the Generico plugin but it could help in this endeavor: https://moodle.org/plugins/filter_generico

Otherwise here the doc from MS about embedding a Stream video thanks to oEmbed: https://docs.microsoft.com/en-us/stream/embed-video-oembed

Cheers!

Average of ratings: Useful (1)
In reply to Peter Koel

Re: Video Player plugin - Moodle 3.5 Boost theme

by Derek Chaplin -

Hi Peter,

It is very easy to add videos using the built-in Atto text editor in Moodle. In fact you used virtually the same editor to write this post!


  1. Add either a Label or Page resource to your course
  2. In the Content section, click on the Insert or edit an audio/video file icon in the toolbar
  3. Click on the video tab
  4. Copy and paste the URL to your video into the URL field
  5. Click save to close dialog box
  6. Scroll to the bottom of the page and click Save and and Display
Voila! You should see your video in all its glory.

I highly recommend that you watch this video to learn all you can do with the Atto editor

In reply to Derek Chaplin

Re: Video Player plugin - Moodle 3.5 Boost theme

by Maxime Taisne -

Hi Derek,

I'm stuck on an earlier version of Moodle and din't know about this feature in Atto. Thanks!

Cheers!

In reply to Peter Koel

Re: Video Player plugin - Moodle 3.5 Boost theme

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Peter,

You can definitely do this. But can you clarify where you ideally want to display videos? Is it inside pages, or forums, or in labels on the course page, or all of those places? And can you clarify what sort of links you are trying to use?

Generally Moodle uses filters to display videos in videojs. So it sees a link to something that looks like a video, and it tries to turn it into a video player. You can also embed from the html editor a video directly if you know the video file url.  When I looked at MS Stream, for embedding it had a screenshot like this:

Embed 

Thats not a link to a video, thats  iframe code. In the html editor you can't easily paste iframe code, but you might use the plugin Generico (or its cousin VideoEasy) to might make that easier. 



In reply to Justin Hunt

Re: Video Player plugin - Moodle 3.5 Boost theme

by Conrad Law -

I'm finally using from MOODLE 1.9 to 3.6 and I need to determine how to load html5 videos. I previously used Flash videos then html5 videos using ISpring. The ISpring writer created many folders and files but has worked fine with MOODLE 1.9. The initial folder for an html5 video had it's own player. In the first level folder there is an index.html and flash.html and a data folder. 

I have been unable to find a straightforward answer on getting this to run in moodle 3.5 or higher. Looking for a reference to the right solution.

Not sure if I need to enable something, use a different format or what.

Thanks.
Conrad

In reply to Conrad Law

Re: Video Player plugin - Moodle 3.5 Boost theme

by Csaba Hajos -

I am struggling with the same thing, trying to play html5 videos on Moodle.

Have you been able to find an answer Konrad?


Thanks

Csaba