+
+ Validation Error |
+ Description |
+
+
+ TAG_REQUIRED_BY_MISSING |
+ Error thrown when required amp-jwplayer extension .js script tag is missing or incorrect. |
+
+
+ MANDATORY_ATTR_MISSING |
+ Error thrown when data-account attribute is missing. |
+
+
+ IMPLIED_LAYOUT_INVALID |
+ Error thrown when implied layout is set to CONTAINER ; this layout type isn't supported. |
+
+
+ MANDATORY_ONEOF_ATTR_MISSING |
+ Error thrown when either the data-media-id or data-playlist-id attributes are missing. |
+
+
+ IMPLIED_LAYOUT_INVALID |
+ Error thrown when implied layout is set to CONTAINER ; this layout type isn't supported. |
+
+
+ SPECIFIED_LAYOUT_INVALID |
+ Error thrown when specified layout is set to CONTAINER ; this layout type isn't supported. |
+
+
+ INVALID_PROPERTY_VALUE_IN_ATTR_VALUE |
+ Error thrown when invalid value is given for attributes height or width . For example, height=auto triggers this error for all supported layout types, with the exception of NODISPLAY . |
+
+
+
+#### Example
+
+The `width` and `height` attributes determine the aspect ratio of the player embedded in responsive layouts.
+
+Example:
+
+```html
+