{"json_modified": "2016-09-29T14:08:25.446283", "uuid": "4d1fa573-826b-45a9-98bf-154a5e0bb84c", "title": "MediaTrackSupportedConstraints.aspectRatio", "url": "/en-US/docs/Web/API/MediaTrackSupportedConstraints/aspectRatio", "tags": ["aspectRatio", "API", "WebRTC", "Reference", "Constraints", "Property", "Media Streams API", "Web", "MediaTrackSupportedConstraints", "Media Capture and Streams API", "Media"], "translations": [], "modified": "2016-09-29T14:08:25", "label": "MediaTrackSupportedConstraints.aspectRatio", "localization_tags": [], "locale": "en-US", "id": 195979, "last_edit": "2016-09-29T14:08:20", "summary": "The MediaTrackSupportedConstraints
dictionary's aspectRatio
property is a read-only Boolean value which is present (and set to true
) in the object returned by MediaDevices.getSupportedConstraints()
if and only if the user agent supports the aspectRatio
constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "HTML_content", "title": "HTML content"}, {"id": "CSS_content", "title": "CSS content"}, {"id": "JavaScript_content", "title": "JavaScript content"}, {"id": "Result", "title": "Result"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaTrackSupportedConstraints/aspectRatio", "review_tags": []}