I have two questions in regards to adding an embedded video in Lectora online.
1: Is it possible to have an image thumbnail as opposed to a black screen before the user clicks the play button on the video?
2: When I upload my video I get small black bars on the left and right side of the video. After doing some research I see that its usually because Lectora is adding in the height of the player to the video dimensions. Is there a workaround for this?
Note that I only tested with MP4 videos. Also, this will work in published content only – does not work in Run Mode.
Here are the steps:
On the page with the video, add an image that you want to use as poster and make it a very small size. Make sure this image is above the video on the left-hand-pane of the editor so that it will be behind the video when rendered. Also set the opacity to 0 (opacity setting is on Style tab). We just want that image available on the page but not actually show it as an image.
window.myPoster = %HTMLNAME%;
If you are using the default controller, Lectora Online should determine the correct video size and you should not see any horizontal or vertical black bars. If you change the controller from the Playback Options tab, you may see black bars since the controller height changes. To fix it go to Position & Size tab and un-check (un-highlight) Maintain Ratio. Then fine adjust the Width or Height as needed.