Is there a way to publish titles without MediaElementJS?

wr3030
Community Member Posts: 7
Comments
-
Update/current solution:
For now, I'm going with just loading my library in addition to MEJS being there and removing the MEJS instance on the page. The downside here is that the page load time is increased, but we can live with that for now.
This is achieved by digging into an object stored in a global variable called mejs which gives developers access to all the instances of media element-powered players on the page. You can call a remove function to return to a non-mejs state of your video element. Below is a sample of code used to remove the first instance of mejs on the page.mejs.players.mep_0.remove();
After this, I was able to successfully run my code and apply the video player framework that I need to use.
In case anyone's interested, this is so that I could apply the videojs library and use the xAPI Video Profile which is dependent on videojs. It could work with MEJS, but the xAPI Video Profile reference implementation uses videoJS and it would require much time to rewrite their library to work with another video library. Maybe one day.
Categories
- 35.8K All Categories
- 108 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products