diff --git a/src/content/docs/stream/get-started.mdx b/src/content/docs/stream/get-started.mdx index 12871dcacbf4ff..6719b5abfe72c5 100644 --- a/src/content/docs/stream/get-started.mdx +++ b/src/content/docs/stream/get-started.mdx @@ -2,20 +2,17 @@ pcx_content_type: get-started title: Get started sidebar: - order: 2 - + order: 1 --- :::note[Before you get started:] - You must first [create a Cloudflare account](/fundamentals/setup/account/create-account/) and [create an API token](/fundamentals/api/get-started/create-token/) to begin using Stream. - ::: -* [Upload your first video](/stream/get-started#upload-your-first-video) -* [Start your first live stream](/stream/get-started#start-your-first-live-stream) +- [Upload your first video](/stream/get-started#upload-your-first-video) +- [Start your first live stream](/stream/get-started#start-your-first-live-stream) ## Upload your first video @@ -47,25 +44,25 @@ https://api.cloudflare.com/client/v4/accounts//stream/ ```json title="Response" {6} { - "result": { - "uid": "6b9e68b07dfee8cc2d116e4c51d6a957", - "preview": "https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/watch", - "thumbnail": "https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/thumbnails/thumbnail.jpg", - "readyToStream": true, - "status": { - "state": "ready" - }, - "meta": { - "downloaded-from": "https://storage.googleapis.com/stream-example-bucket/video.mp4", - "name": "My First Stream Video" - }, - "created": "2020-10-16T20:20:17.872170843Z", - "size": 9032701, - //... - }, - "success": true, - "errors": [], - "messages": [] + "result": { + "uid": "6b9e68b07dfee8cc2d116e4c51d6a957", + "preview": "https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/watch", + "thumbnail": "https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/thumbnails/thumbnail.jpg", + "readyToStream": true, + "status": { + "state": "ready" + }, + "meta": { + "downloaded-from": "https://storage.googleapis.com/stream-example-bucket/video.mp4", + "name": "My First Stream Video" + }, + "created": "2020-10-16T20:20:17.872170843Z", + "size": 9032701 + //... + }, + "success": true, + "errors": [], + "messages": [] } ``` @@ -77,31 +74,33 @@ To play video on your website with the [Stream Player](/stream/viewing-videos/us ```html ``` The embed code above can also be found in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream).
-
- -
+
+ +
### Next steps -* [Edit your video](/stream/edit-videos/) and add captions or watermarks -* [Customize the Stream player](/stream/viewing-videos/using-the-stream-player/) +- [Edit your video](/stream/edit-videos/) and add captions or watermarks +- [Customize the Stream player](/stream/viewing-videos/using-the-stream-player/) ## Start your first live stream @@ -120,22 +119,22 @@ https://api.cloudflare.com/client/v4/accounts//stream/live_inputs ```json title="Response" { - "uid": "f256e6ea9341d51eea64c9454659e576", - "rtmps": { - "url": "rtmps://live.cloudflare.com:443/live/", - "streamKey": "MTQ0MTcjM3MjI1NDE3ODIyNTI1MjYyMjE4NTI2ODI1NDcxMzUyMzcf256e6ea9351d51eea64c9454659e576" - }, - "created": "2021-09-23T05:05:53.451415Z", - "modified": "2021-09-23T05:05:53.451415Z", - "meta": { - "name": "test stream" - }, - "status": null, - "recording": { - "mode": "automatic", - "requireSignedURLs": false, - "allowedOrigins": null - } + "uid": "f256e6ea9341d51eea64c9454659e576", + "rtmps": { + "url": "rtmps://live.cloudflare.com:443/live/", + "streamKey": "MTQ0MTcjM3MjI1NDE3ODIyNTI1MjYyMjE4NTI2ODI1NDcxMzUyMzcf256e6ea9351d51eea64c9454659e576" + }, + "created": "2021-09-23T05:05:53.451415Z", + "modified": "2021-09-23T05:05:53.451415Z", + "meta": { + "name": "test stream" + }, + "status": null, + "recording": { + "mode": "automatic", + "requireSignedURLs": false, + "allowedOrigins": null + } } ``` @@ -151,11 +150,12 @@ To play the live stream you just started on your website with the [Stream Player ```html ``` @@ -163,8 +163,8 @@ The embed code above can also be found in the [Cloudflare dashboard](https://das ### Next steps -* [Secure your stream](/stream/viewing-videos/securing-your-stream/) -* [View live viewer counts](/stream/getting-analytics/live-viewer-count/) +- [Secure your stream](/stream/viewing-videos/securing-your-stream/) +- [View live viewer counts](/stream/getting-analytics/live-viewer-count/) ## Accessibility considerations diff --git a/src/content/docs/stream/uploading-videos/index.mdx b/src/content/docs/stream/uploading-videos/index.mdx index c19b73101cc191..1eecf84ac8acfb 100644 --- a/src/content/docs/stream/uploading-videos/index.mdx +++ b/src/content/docs/stream/uploading-videos/index.mdx @@ -2,24 +2,23 @@ title: Upload videos pcx_content_type: navigation sidebar: - order: 1 + order: 2 + group: --- Before you upload your video, review the options for uploading a video, supported formats, and recommendations. ## Upload options -| Upload method | When to use | -|---------------|-------------| -|[Stream Dashboard](https://dash.cloudflare.com/?to=/:account/stream)| Upload videos from the Stream Dashboard without writing any code. -|[Upload with a link](/stream/uploading-videos/upload-via-link/)| Upload videos using a link, such as an S3 bucket or content management system. -|[Upload video file](/stream/uploading-videos/upload-video-file/)| Upload videos stored on a computer. -|[Direct creator uploads](/stream/uploading-videos/direct-creator-uploads/)| Allows end users of your website or app to upload videos directly to Cloudflare Stream. - +| Upload method | When to use | +| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| [Stream Dashboard](https://dash.cloudflare.com/?to=/:account/stream) | Upload videos from the Stream Dashboard without writing any code. | +| [Upload with a link](/stream/uploading-videos/upload-via-link/) | Upload videos using a link, such as an S3 bucket or content management system. | +| [Upload video file](/stream/uploading-videos/upload-video-file/) | Upload videos stored on a computer. | +| [Direct creator uploads](/stream/uploading-videos/direct-creator-uploads/) | Allows end users of your website or app to upload videos directly to Cloudflare Stream. | ## Supported video formats - :::note Files must be less than 30 GB, and content should be encoded and uploaded in the same frame rate it was recorded. :::