Explore the community Forums Lectora Lectora Questions & Answers Full-screen video via JavaScript Reply To: Full-screen video via JavaScript

#417763 Score: 0
Profile photo of CarlFink
CarlFink
Member
beginner
intermediate
contributor
LUC16 Attendee
wise owl
curious george
advanced
friend finder
41 pts
@CarlFink

By the way: have you considered adding more fine-grained Actions for media to Lectora itself, since you’re using the MediaJS player? Stuff like a variable that represents the video length, going to a specific point (e. g. 3:21), the “go forward/back a number of seconds” that you implemented for me, a variable representing the position of the playhead, full-screen and restore?

To do it transparently, you’d set the [media].playHeadPosition variable to some number indicating the desired position in seconds. (Thinking “aloud” here.)