Not work when height and width set to percentage
Hi,
When I set width and height to video use percentage, Firefox and ie8 cannot show the video, it seems that getDimension method count incorrectly when the attributes with '%', eg. height='30%'. Is there any solution for this problem?
Thanks
The width and height attributes of a video need to be specified in pixels. Specifying them as percentages is not supported at this time.
On 20 Jan 2015, at 01:31, adayan [email protected] wrote:
Hi,
When I set width and height to video use percentage, Firefox and ie8 cannot show the video, it seems that getDimension method count incorrectly when the attributes with '%', eg. height='30%'. Is there any solution for this problem?
Thanks
— Reply to this email directly or view it on GitHub.
Any plans to add percentage support?
btw, here's a workaround (add this to your css):
.video-wrapper span { height: 100% !important; }