Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Sep 17, 2023
1 parent dae8d8c commit 220b34b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions MIGRATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Steps:
4. Replace `uploader` with `upload-widget` in all CSS class name overrides (if you have any).
5. Remove `uploader` (from imports and props)
6. Add `apiKey` as a field to the object passed to the `options` prop (add it if you don't have one).
7. Replace `uploader` with `upload-widget` in all CSS class name overrides.

### Before

Expand Down Expand Up @@ -50,7 +49,7 @@ Steps:
alert(files.map(f => f.fileUrl).join("\n"));
}
}
})
});
}
}
};
Expand Down Expand Up @@ -90,7 +89,7 @@ Steps:
alert(files.map(f => f.fileUrl).join("\n"));
}
}
})
});
}
}
};
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<hr/>

<p align="center">
<b>Supports:</b> Image Cropping, Video Previews, Document Previews, Drag & Drop, Multiple Files & More...
<b>Supports:</b> Image Cropping, Video Previews, Document Previews, Drag & Drop, and more...
<br />
<br />
<a href="https://www.bytescale.com/docs/upload-widget/vue" rel="nofollow"><b>Full Documentation</b></a> • <a href="https://www.bytescale.com/docs/sdks/javascript" rel="nofollow">Headless SDK</a> • <a href="https://www.bytescale.com/docs/media-processing-apis" rel="nofollow">Media Processing APIs</a> • <a href="https://www.bytescale.com/docs/storage/sources" rel="nofollow">Storage</a> • <a href="https://www.bytescale.com/docs/cdn" rel="nofollow">CDN</a>
Expand Down Expand Up @@ -416,7 +416,7 @@ import { UrlBuilder } from "@bytescale/sdk";

#### Raw Files

To get the URL for the uploaded image `/example.jpg` in its original form, use the following params:
To get the URL for the uploaded image `/example.jpg` in its original form, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/raw/example.jpg"
Expand All @@ -428,7 +428,7 @@ UrlBuilder.url({

#### Images

To resize the uploaded image `/example.jpg` to 800x600, use the following params:
To resize the uploaded image `/example.jpg` to 800x600, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/image/example.jpg?w=800&h=600"
Expand All @@ -449,7 +449,7 @@ UrlBuilder.url({

#### Videos

To transcode the uploaded video `/example.mov` to MP4/H.264 in HD, use the following params:
To transcode the uploaded video `/example.mov` to MP4/H.264 in HD, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/video/example.mov?f=mp4-h264&h=1080"
Expand All @@ -470,7 +470,7 @@ UrlBuilder.url({

#### Audio

To transcode the uploaded audio `/example.wav` to AAC in 192kbps, use the following params:
To transcode the uploaded audio `/example.wav` to AAC in 192kbps, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/audio/example.wav?f=aac&br=192"
Expand All @@ -491,7 +491,7 @@ UrlBuilder.url({

#### Archives

To extract the file `document.docx` from the uploaded ZIP file `/example.zip`, use the following params:
To extract the file `document.docx` from the uploaded ZIP file `/example.zip`, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/archive/example.zip?m=extract&artifact=/document.docx"
Expand Down

0 comments on commit 220b34b

Please sign in to comment.