This amazing plugin brings the powerful Video JS player into October giving you the ability to quickly create a video based portal for your clients.
Courses are designed to be containers for the lessons.
Duration and difficulty are optional parameters that can be used in views to better organize the structure of the course.
Courses can be reordered using simple reorder behavior.
Every lesson can have a
number_in_course parameter set. By default, it is set to the last position of the course after selecting the course. If you decide to make it earlier one add the number
Right now lessons have to have incremented numbers for the
previous_lessonwill not work if the numbers are not one after the other
Lessons can keep a variety of material types.
Lessons can have related lessons and courses can have related courses. The idea here is to link lessons and courses logically, not only by the order in the course.
There are three relations right now (more can be added on demand):
Let's say we are talking in one lesson about the lesson in a different course that concerns a similar topic. We can link those two lessons using
If we consider one lesson as a requirement to understand the second one, we can link those two using
before is treated as a requirement for the current lesson/course.
Marking the course and lesson as enabled will not make it published if the
published_at parameter is set in the future.
Enabling is meant to be used when we want to hide courses and lessons (for example when we are working on them like drafts). Using the date of publication we can schedule the publication of the lesson or course in the future.
The plugin provides such components:
Just a simple list of courses with links to go to the single-course page.
This component will inject the
course variable to the page which is a representation of the model in the database. The course is eagerly loaded with its lessons and similar courses.
It provides a list of the lessons. The component can operate in two modes. It's
full. By default it's full.
Full mode is designed to be a listing of the lessons on the page. The
small one is meant to be used on the single-lesson page to navigate through the other lessons in the course.
The small one by default is rendered as a scrollable list with an automatically scrolled place to the lesson that is marked as current (using lesson embed to the page).
Lesson details is the counterpart of
CourseDetails. It injects the
Lesson model object to the page.
It will also inject
Video JS assets to the page and ensures the video is protected (as described in the Protected videos section).
coursesDir property tells the
Course model where the lessons are stored. It is not a requirement to keep videos there but the plugin is created in such a way that in the
coursesDir directories named as course slugs will be created.
By default, the videos from the lessons are "protected". If you want to make your videos easier to download, disable the
The protection is just a process that will slow down the users to download the video. If you want to be sure it's protected consider using DRM or any similar technology.
To access the lessons, there's a custom routing defined in the plugin that checks if there's a "password" in the user's session. The password is generated by the
LessonDetails component in the
onRun method. After the route is hit, the password from the session is pulled, which makes the download of the video possible only one time.
LessonDetails component is made in such a way, that it will automatically start downloading the video on document load.
If you want to be sure that nobody will download the video through public URL, you have to tweak the .htaccess to fulfill your needs.
inIT has been consistently providing a discreet and professional development service for October CMS users since 2015. We have successfully played major and minor development roles in over 100 October based projects supporting and partnering with clients around the world.
Why not make us a part of your next October development crew.
inIT.biz is a trading name of inIT.biz sp. z o.o., a company registered in Poland (REGON: 367829790, VAT: 8661738221)