Skip to content

Commit 5104752

Browse files
authored
[Stream] Remove trailing spaces (#21401)
1 parent 6cdb080 commit 5104752

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

src/content/docs/stream/edit-videos/applying-watermarks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To create, list, delete, or get information about the profile, you will need you
5858

5959
* Stream will make sure that the watermark will be at about the same position across videos with different dimensions.
6060

61-
* `scale` float default: 0.15
61+
* `scale` float default: 0.15
6262

6363
* The size of the watermark relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 means no scaling (use the size of the watermark as-is), and 1.0 fills the entire video.
6464

@@ -70,7 +70,7 @@ To create, list, delete, or get information about the profile, you will need you
7070

7171
:::note
7272

73-
Note that `center` will ignore the `padding` parameter.
73+
Note that `center` will ignore the `padding` parameter.
7474
:::
7575

7676

src/content/docs/stream/transform-videos/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ Media Transformations are currently in beta. During this period:
124124

125125
Media Transformations will be free for all customers while in beta.
126126

127-
After that, Media Transforamtions and Image Transformations will use the same subscriptions and usage metrics.
127+
After that, Media Transforamtions and Image Transformations will use the same subscriptions and usage metrics.
128128

129-
- Generating a still frame (single image) from a video counts as 1 transformation.
130-
- Generating an optimized video counts as 1 transformation _per second of the output_ video.
131-
- Each unique transformation is only billed once per month.
129+
- Generating a still frame (single image) from a video counts as 1 transformation.
130+
- Generating an optimized video counts as 1 transformation _per second of the output_ video.
131+
- Each unique transformation is only billed once per month.
132132
- All Media and Image Transformations cost $0.50 per 1,000 monthly unique transformation operations, with a free monthly allocation of 5,000.

src/content/docs/stream/uploading-videos/player-api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Multiple attributes can be used together, added one after each other like this:
2626
:::note
2727
To disable video autoplay, the `autoplay` attribute needs to be removed altogether as this attribute. Setting `autoplay="false"` will not work; the video will autoplay if the attribute is there in the `<stream>` tag.
2828

29-
In addition, some browsers now prevent videos with audio from playing automatically. You may add the `mute` attribute to allow your videos to autoplay. For more information, go [here](https://webkit.org/blog/6784/new-video-policies-for-ios/).
29+
In addition, some browsers now prevent videos with audio from playing automatically. You may add the `mute` attribute to allow your videos to autoplay. For more information, go [here](https://webkit.org/blog/6784/new-video-policies-for-ios/).
3030
:::
3131

3232
* `controls` boolean
@@ -50,7 +50,7 @@ Multiple attributes can be used together, added one after each other like this:
5050
* This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. You may choose to include this attribute as a boolean attribute without a value, or you may specify the value `preload="auto"` to preload the beginning of the video. Not including the attribute or using `preload="metadata"` will just load the metadata needed to start video playback when requested.
5151

5252
:::note
53-
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 negligible.
53+
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 negligible.
5454
:::
5555

5656
* `poster` string

src/content/docs/stream/uploading-videos/resumable-uploads.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ If you have a video over 200 MB, we recommend using the [tus protocol](https://t
1616

1717
## Prerequisites
1818

19-
Before you can upload a video using tus, you will need to download a tus client.
19+
Before you can upload a video using tus, you will need to download a tus client.
2020

21-
For more information, refer to the [tus Python client](https://github.com/tus/tus-py-client) which is available through pip, Python's package manager.
21+
For more information, refer to the [tus Python client](https://github.com/tus/tus-py-client) which is available through pip, Python's package manager.
2222

2323
```python title="Install Python client"
2424
pip install -U tus.py
@@ -28,7 +28,7 @@ pip install -U tus.py
2828

2929
```sh title="Upload using tus"
3030
tus-upload --chunk-size 52428800 --header \
31-
Authorization "Bearer <API_TOKEN>"
31+
Authorization "Bearer <API_TOKEN>"
3232
<PATH_TO_VIDEO> https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/stream
3333
```
3434

src/content/docs/stream/uploading-videos/upload-via-link.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ You can optionally use [webhooks](/stream/manage-video-library/using-webhooks/)
7070
}
7171
```
7272

73-
After the video is uploaded, you can use the video `uid` shown in the example response above to play the video using the [Stream video player](/stream/viewing-videos/using-the-stream-player/).
73+
After the video is uploaded, you can use the video `uid` shown in the example response above to play the video using the [Stream video player](/stream/viewing-videos/using-the-stream-player/).
7474

7575
If you are using your own player or rendering the video in a mobile app, refer to [using your own player](/stream/viewing-videos/using-the-stream-player/using-the-player-api/).

src/content/docs/stream/viewing-videos/using-the-stream-player/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ Player options are configured with querystring parameters in the iframe's `src`
8686

8787
:::caution
8888

89-
Some browsers now prevent videos with audio from playing automatically. You may set `muted` to `true` to allow your videos to autoplay. For more information, refer to [New `<video>` Policies for iOS](https://webkit.org/blog/6784/new-video-policies-for-ios/).
90-
89+
Some browsers now prevent videos with audio from playing automatically. You may set `muted` to `true` to allow your videos to autoplay. For more information, refer to [New `<video>` Policies for iOS](https://webkit.org/blog/6784/new-video-policies-for-ios/).
90+
9191
:::
9292

9393
* `controls` default: `true`
@@ -130,7 +130,7 @@ Player options are configured with querystring parameters in the iframe's `src`
130130
:::note
131131

132132
The `<video>` element does not force the browser to follow the value of this option; it is a mere hint. Even though the `preload="none"` option is a valid HTML5 option, Stream player will always load some metadata to initialize the player. The amount of data loaded in this case is negligible.
133-
133+
134134
:::
135135

136136
* `poster` defaults to the first frame of the video

src/content/docs/stream/webrtc-beta.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
pcx_content_type: navigation
3-
title: WebRTC
3+
title: WebRTC
44
sidebar:
55
badge:
66
text: Beta
@@ -19,7 +19,7 @@ WebRTC is ideal for when you need live video to playback in near real-time, such
1919

2020
:::note
2121

22-
WebRTC streaming is currently in beta, and we'd love to hear what you think. Join the Cloudflare Discord server [using this invite](https://discord.com/invite/cloudflaredev/) and hop into our [Discord channel](https://discord.com/channels/595317990191398933/893253103695065128) to let us know what you're building with WebRTC!
22+
WebRTC streaming is currently in beta, and we'd love to hear what you think. Join the Cloudflare Discord server [using this invite](https://discord.com/invite/cloudflaredev/) and hop into our [Discord channel](https://discord.com/channels/595317990191398933/893253103695065128) to let us know what you're building with WebRTC!
2323

2424
:::
2525

@@ -53,7 +53,7 @@ Paste this URL into the example code.
5353
// Add a <video> element to the HTML page this code runs in:
5454
// <video id="input-video" autoplay muted></video>
5555

56-
import WHIPClient from "./WHIPClient.js";
56+
import WHIPClient from "./WHIPClient.js";
5757

5858
const url = "<WEBRTC_URL_FROM_YOUR_LIVE_INPUT>"; // add the webRTC URL from your live input here
5959
const videoElement = document.getElementById("input-video");
@@ -74,7 +74,7 @@ Paste this URL into the example code.
7474
// Add a <video> element to the HTML page this code runs in:
7575
// <video id="output-video" autoplay muted></video>
7676

77-
import WHEPClient from "./WHEPClient.js";
77+
import WHEPClient from "./WHEPClient.js";
7878

7979
const url = "<WEBRTC_URL_FROM_YOUR_LIVE_INPUT>"; // add the webRTCPlayback URL from your live input here
8080
const videoElement = document.getElementById("output-video");

0 commit comments

Comments
 (0)