Explore the community Forums Lectora Lectora Questions & Answers MP4 to stay at last frame when done Reply To: MP4 to stay at last frame when done

#425427 Score: 0
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

The easiest way to do this is with a simple little hack.

In your exported content html folder you will find a file called “trivantis-media.js“. Open this in notepad (or an html editor, if you code).

Do a search and look for “this.playerOptions = {“. Add a line under it just above the first entry “enablePluginDebug: false,” with the following:

autoRewind: false,

Typed exactly like the above, including the comma. These lines should now look like this

this.playerOptions = {
                             autoRewind: false,
                             enablePluginDebug: false,

Save the file and now your videos in this lesson will stop on the last frame and not rewind. If you want to lose the superimposed large play button on the video this can be accomplished using CSS.