devrok / colmar-academy

0 stars 0 forks source link

Width and height attributes #5

Open aubreywullschleger opened 6 years ago

aubreywullschleger commented 6 years ago

Subtlety for errors! If using the width (or height) attribute on <video>, HTML5 only accepts the value as pixels (not percentages or auto) and does not accept unit values (px). See here for more info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-width

https://github.com/devrok/colmar-academy/blob/master/index.html#L198