Postage Stamp Sized Video

Workarounds and usability notes.

Postage Stamp Sized Video

Postby Darrel » Tue Dec 16, 2014 9:04 am

Have you ever had this problem? You encode your video and output to MP4, OGV and WEBM to use in htmlVideoLoader() and on some browsers when exported the video shrinks to the size of a postage stamp. This was happening to me intermittently and usually when viewed on Internet Explorer browsers. I double checked my powerpack settings, made sure the video source and the ToolBook field acting as the player were exactly the same size and I finally I tried re-encoding the video with every software app I could find but no luck. Then I found the following:

According to HTMLGoodies site (http://www.htmlgoodies.com/html5/client ... 61knPCMZI5) when specifying the height and width of the video player using the <video> tag "If you specify a size smaller than the source, the entire video will scale down. However, if you specify a size larger than the source, the video will display in its original size, with the remainder of the dimensions you specified filled by empty space."

After reading this I though maybe this holds true for video that is also the same size as the player. I increased the size of the height and width of the ToolBook field by 5 pixels each and viola the video played perfectly in every browser.

So, if this is happening to you, before you start re-encoding your videos, try to increase the size of the player a little bigger than the source video. I hope this helps.

Darrel
http://www.elearningcode.com (new site in development)
Darrel
 
Posts: 3
Joined: Tue Aug 05, 2014 7:08 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron