Page 1 of 1

HTML5 Video

Posted: Thu Dec 06, 2018 7:30 am
by Baluteer
Error 613 - says that "Percentages like "100%" are not allowed
here." However, when I search for it, I find it stated that percentages and
auto are supported. ... hVideo.php

And it does seem to work in the browsers I have checked. Should I be
concerned? Thanks

Re: HTML5 Video

Posted: Thu Dec 06, 2018 11:19 am
by Albert Wiersch

I have looked into this.

You're probably using percentages for "height" and "width" HTML attributes and this is not allowed. See: ... ment/video
and ... attributes

However, percentages are allowed for the "height" and "width" CSS properties (but not the HTML attributes mentioned above).

I hope this helps. Please let me know if you have any more questions.

UPDATE: I've improved the message that may appear when an invalid percentage is used for a "width" or "height" attribute value in 2019/v19:
The value "100%" for the "height" attribute contains one or more non-integer characters after the integer characters. NOTE: Percentage values like "100%" are not allowed for this attribute (but may be allowed for the corresponding CSS property value).