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

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

Continuing to add: I just used your modified mediaelements code on another course. I had encoded the DVD video down to 480×360. If I make the web window that exact size, it works (although of course the video quality itself is quite low). If I increase the size of the web window without changing the script, the web window resizes, but the video within it remains 480×360 and leaves a huge gap. That’s what I was referring to when I wrote about it not wanting to resize–the video itself does not scale, only the div (?) it’s enclosed in. (Obviously, I haven’t looked into how Lectora implements web windows.)