Skip to content

Commit

Permalink
Merge pull request #32 from cloudflare/add-responsive-prop-to-readme
Browse files Browse the repository at this point in the history
Add responsive prop to readme
  • Loading branch information
third774 authored Oct 28, 2021
2 parents 4bab37b + f477076 commit fab0dd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export type StreamProps = {
* The <video> element does not force the browser to follow the value of this attribute; it is a mere hint. Even though the preload="none" option is a valid HTML5 attribute, Stream player will always load some metadata to initialize the player. The amount of data loaded in this case is negligable.
*/
preload?: "auto" | "metadata" | "none" | boolean;
/**
* Automatically manages the aspect ratio of the iframe for you. Defaults to true. If you want to manually handle the styles yourself, set this to false.
*/
responsive?: boolean;
/**
* Sets volume from 0.0 (silent) to 1.0 (maximum value)
*/
Expand Down

0 comments on commit fab0dd8

Please sign in to comment.