Video Controls to lock user out

rwatkins9162
Community Member Posts: 17
Hello,
Total newbie working on his first project for a new job, so forgive me.
I was curious if anyone knew a way to lock a user out of being able to interact with videos. As I have them now, the control bar is hidden and the cue to fire the video is in the audio track, but a user can still click on the video itself to pause and start it. I want users to have no control over the video, it's something for them to look at, but no touchy the video. I don't see a properties setting for it and the pause/start issue is in all three of the test environments (html/run/preview).
Thanks in advance.
Is there a way to lock them out?
Total newbie working on his first project for a new job, so forgive me.
I was curious if anyone knew a way to lock a user out of being able to interact with videos. As I have them now, the control bar is hidden and the cue to fire the video is in the audio track, but a user can still click on the video itself to pause and start it. I want users to have no control over the video, it's something for them to look at, but no touchy the video. I don't see a properties setting for it and the pause/start issue is in all three of the test environments (html/run/preview).
Thanks in advance.
Is there a way to lock them out?
Comments
-
I've done this with my own courses and there's no built-in way to remove the functionality of the click on the video itself. However, you can use a transparent shape to cover the video, which will prevent the user from clicking to pause or play it.
I've also created a CSS file that removes the visibility of the default play button that's on videos.
Using notepad, create a new text document and add the following:div[id^="video"] .mejs-overlay {
Save the file, then change the extension from .txt to .css
visibility: hidden;
}
In Lectora, go to the Insert ribbon and choose HTML Extension. To the far left, choose Custom Style Sheet as the type. Use the file to browse to the file and select the CSS file you just created.
This will hide the default play image AND with the shape, "disable" clicking on the video. -
-
-
hi, this is a really great solution, i had the same problem with the PLAY button.
in lectora online 4.2 there is no type "Custom Style Sheet" you choose.
is it important where i place the file?
greetings Marcel
-
If you use the CSS option to add your CSS-file to Lectora Online, then thats exactly what happens. An extra CSS file gets attached to style elements. Disadvantage of this is you need to edit that external file eg. 'myStyles.css' in some external editor...SublimeText, Notepad++ or whatever. And when changed you have to re-upload it to Lectora Online and can use it. For CSS , especially when you not 100% sure you got all in it thats needed, it can be easier in your workflow to add it as 'MetaTags'. Then in the edit-window in Lectora Online you can quickly change and edit your CSS. In the edit-window you have to ensure these tags surround your code:
<style type="text/css">
here you can put your CSS
</style>
This way ( for Lectora Online ) you can easier and quicker change your CSS. If its final, you can opt for the CSS-option and attach the file.
Regards,
Math -
hey guys, i made a test project, but there is the Play button to see.
greetings Marcel -
When copying and pasting from the Internet, this forum or wherever... always replace " ( = quotation marks ), because they get formatted to non-functioning characters. Also do check for additional spaces that might get added when copying and pasting. Some fori and sites tend to have those too if you copy/paste.
-
oh no...its still there....
can you give again a look to my title please -
The solution is indeed to replace the quotes. A sample is in this thread:
https://community.trivantis.com/forums/topic/how-to-set-conditions-in-a-course/
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