Manually Load VideoJS in moodle

Re: Re: Manually Load VideoJS in moodle

by Matt Sawatzky -
Number of replies: 2


So this is the working code. Still have to figure out the logic for pausing a video when modal closes but that's on a different discussion!

Basically what is happening here is if the modal has already been launched with that specific video then instead of creating a new one it just shows the existing one. 


In reply to Matt Sawatzky

Re: Re: Manually Load VideoJS in moodle

by James Hamilton -

Hey Matt,

Thanks a heap for this, did you ever figure out how to pause the video when modal close?

I'm a quarter to throwing things.

J