Skip to content

Commit 3b2cea0

Browse files
[Stream] [Images] Nav updates (#25024)
* [Stream] [Images] Nav updates * Update src/content/docs/images/upload-images/sourcing-kit/edit.mdx Co-authored-by: angelampcosta <[email protected]> * Update src/content/docs/images/upload-images/sourcing-kit/edit.mdx Co-authored-by: angelampcosta <[email protected]> * Update src/content/docs/stream/stream-live/troubleshooting.mdx Co-authored-by: angelampcosta <[email protected]> --------- Co-authored-by: angelampcosta <[email protected]>
1 parent 7155951 commit 3b2cea0

File tree

16 files changed

+136
-44
lines changed

16 files changed

+136
-44
lines changed

src/content/docs/images/upload-images/sourcing-kit/edit.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The Sourcing Kit main page has a list of all the import jobs and sources you hav
1313

1414
You can learn more about your sources by selecting the **Sources** tab on the Sourcing Kit dashboard. Use this option to rename or delete your sources.
1515

16-
1. In the Cloudflare dashboard, go to the **Sourcing Kit** page.
16+
1. In the Cloudflare dashboard, go to the **Sourcing Kit** page.
1717

1818
<DashButton url="/?to=/:account/images/sourcing-kit" />
1919

@@ -24,8 +24,10 @@ You can learn more about your sources by selecting the **Sources** tab on the So
2424

2525
While Cloudflare Images is still running a job to import images into your account, you can abort it before it finishes.
2626

27-
1. Log in to the [ Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
28-
2. Go to **Images** > **Sourcing Kit**.
29-
3. In **Imports** select the import job you want to abort.
30-
4. The next page shows you a summary of the import. Select **Abort**.
31-
5. Confirm that you want to abort your import job by selecting **Abort** on the dialog box.
27+
1. In the Cloudflare dashboard, go to the **Sourcing Kit** page.
28+
29+
<DashButton url="/?to=/:account/images/sourcing-kit" />
30+
31+
2. In **Imports** select the import job you want to abort.
32+
3. The next page shows you a summary of the import. Select **Abort**.
33+
4. Confirm that you want to abort your import job by selecting **Abort** on the dialog box.

src/content/docs/stream/edit-videos/video-clipping.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pcx_content_type: how-to
33
title: Clip videos
44

55
---
6+
import { DashButton } from "~/components";
67

78
With video clipping, also referred to as "trimming" or changing the length of the video, you can change the start and end points of a video so viewers only see a specific "clip" of the video. For example, if you have a 20 minute video but only want to share a five minute clip from the middle of the video, you can clip the video to remove the content before and after the five minute clip.
89

@@ -55,7 +56,11 @@ curl --location --request POST 'https://api.cloudflare.com/client/v4/accounts/<Y
5556
}'
5657
```
5758

58-
You can check whether your video is ready to play after selecting your account from the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream). While the clipped video processes, the video status response displays **Queued**. When the clipping process is complete, the video status changes to **Ready** and displays the new name of the clipped video and the new duration.
59+
You can check whether your video is ready to play on the **Stream** page of the Cloudflare dashboard.
60+
61+
<DashButton url="/?to=/:account/stream" />
62+
63+
While the clipped video processes, the video status response displays **Queued**. When the clipping process is complete, the video status changes to **Ready** and displays the new name of the clipped video and the new duration.
5964

6065
To receive a notification when your video is done processing and ready to play, you can [subscribe to webhook notifications](/stream/manage-video-library/using-webhooks/).
6166

src/content/docs/stream/examples/rtmps_playback.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ sidebar:
99
description: Example of sub 1s latency video playback using RTMPS and ffplay
1010
---
1111

12-
import { Render } from "~/components";
12+
import { Render, DashButton } from "~/components";
1313

1414
<Render file="prereqs_first_start_live_streaming" product="stream" />
1515

16-
Copy the RTMPS _playback_ key for your live input from the [Stream Dashboard](https://dash.cloudflare.com/?to=/:account/stream/inputs) or the [Stream API](/stream/stream-live/start-stream-live/#use-the-api), and paste it into the URL below, replacing `<RTMPS_PLAYBACK_KEY>`:
16+
Copy the RTMPS _playback_ key for your live input from either:
17+
- The **Live inputs** page of the Cloudflare dashboard.
18+
19+
<DashButton url="/?to=/:account/stream/inputs" />
20+
21+
- The [Stream API](/stream/stream-live/start-stream-live/#use-the-api)
22+
23+
Paste it into the URL below, replacing `<RTMPS_PLAYBACK_KEY>`:
1724

1825
```sh title="RTMPS playback with ffplay"
1926
ffplay -analyzeduration 1 -fflags -nobuffer -sync ext 'rtmps://live.cloudflare.com:443/live/<RTMPS_PLAYBACK_KEY>'

src/content/docs/stream/examples/srt_playback.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ sidebar:
99
description: Example of sub 1s latency video playback using SRT and ffplay
1010
---
1111

12-
import { Render } from "~/components";
12+
import { Render, DashButton } from "~/components";
1313

1414
<Render file="prereqs_first_start_live_streaming" product="stream" />
1515

16-
Copy the **SRT Playback URL** for your live input from the [Stream Dashboard](https://dash.cloudflare.com/?to=/:account/stream/inputs) or the [Stream API](/stream/stream-live/start-stream-live/#use-the-api), and paste it into the URL below, replacing `<SRT_PLAYBACK_URL>`:
16+
Copy the SRT Playback URL for your live input from either:
17+
- The **Live inputs** page of the Cloudflare dashboard.
18+
19+
<DashButton url="/?to=/:account/stream/inputs" />
20+
21+
- The [Stream API](/stream/stream-live/start-stream-live/#use-the-api)
22+
23+
Paste it into the URL below, replacing `<SRT_PLAYBACK_URL>`:
1724

1825
```sh title="SRT playback with ffplay"
1926
ffplay -analyzeduration 1 -fflags -nobuffer -probesize 32 -sync ext '<SRT_PLAYBACK_URL>'

src/content/docs/stream/faq.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99

1010
---
1111

12-
import { GlossaryTooltip } from "~/components"
12+
import { GlossaryTooltip, DashButton } from "~/components"
1313

1414
## Stream
1515

@@ -147,7 +147,11 @@ If you allow users to upload their own videos directly to Cloudflare Stream, add
147147
Content-Security-Policy: connect-src 'self' *.videodelivery.net *.cloudflarestream.com
148148
```
149149

150-
To ensure **only** videos from **your** Cloudflare Stream account can be played on your website, replace `*` in `*.cloudflarestream.com` and `*.videodelivery.net` in the examples above with `customer-<CODE>`, replacing `<CODE>` with your unique customer code, which can be found in the [Stream Dashboard](https://dash.cloudflare.com/?to=/:account/stream). This code is unique to your Cloudflare Account.
150+
To ensure **only** videos from **your** Cloudflare Stream account can be played on your website, replace `*` in `*.cloudflarestream.com` and `*.videodelivery.net` in the examples above with `customer-<CODE>`, replacing `<CODE>` with your unique customer code. To find your unique customer code in the Cloudflare dashboard, go to the **Stream** page.
151+
152+
<DashButton url="/?to=/:account/stream" />
153+
154+
This code is unique to your Cloudflare Account.
151155

152156
### Why is PageSpeed Insights giving a bad score when using the Stream Player?
153157

src/content/docs/stream/get-started.mdx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar:
55
order: 2
66

77
---
8+
import { DashButton } from "~/components";
89

910
:::note[Before you get started:]
1011

@@ -21,7 +22,9 @@ You must first [create a Cloudflare account](/fundamentals/account/create-accoun
2122

2223
### Step 1: Upload an example video from a public URL
2324

24-
You can upload videos directly from the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream) or using the API.
25+
You can upload videos using the API or directly on the **Stream** page of the Cloudflare dashboard.
26+
27+
<DashButton url="/?to=/:account/stream" />
2528

2629
To use the API, replace the `API_TOKEN` and `ACCOUNT_ID` values with your credentials in the example below.
2730

@@ -85,7 +88,9 @@ To play video on your website with the [Stream Player](/stream/viewing-videos/us
8588
</iframe>
8689
```
8790

88-
The embed code above can also be found in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream).
91+
The embed code above can also be found on the **Stream** page of the Cloudflare dashboard.
92+
93+
<DashButton url="/?to=/:account/stream" />
8994

9095
<figure data-type="stream">
9196
<div class="AspectRatio" style="--aspect-ratio: calc(16 / 9)">
@@ -107,7 +112,9 @@ The embed code above can also be found in the [Cloudflare dashboard](https://das
107112

108113
### Step 1: Create a live input
109114

110-
You can create a live input via the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream/inputs/create) or using the API.
115+
You can create a live input using the API or the **Live inputs** page of the Cloudflare dashboard.
116+
117+
<DashButton url="/?to=/:account/stream/inputs" />
111118

112119
To use the API, replace the `API_TOKEN` and `ACCOUNT_ID` values with your credentials in the example below.
113120

@@ -159,7 +166,9 @@ To play the live stream you just started on your website with the [Stream Player
159166
</iframe>
160167
```
161168

162-
The embed code above can also be found in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/stream).
169+
The embed code above can also be found on the **Stream** page of the Cloudflare dashboard.
170+
171+
<DashButton url="/?to=/:account/stream" />
163172

164173
### Next steps
165174

src/content/docs/stream/getting-analytics/fetching-bulk-analytics.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ title: GraphQL Analytics API
44
sidebar:
55
order: 1
66
---
7+
import { DashButton } from "~/components";
78

8-
Stream provides analytics about both live video and video uploaded to Stream, via the GraphQL API described below, as well as in the [Stream dashboard](https://dash.cloudflare.com/?to=/:account/stream/analytics).
9+
Stream provides analytics about both live video and video uploaded to Stream, via the GraphQL API described below, as well as on the Stream **Analytics** page of the Cloudflare dashboard.
10+
11+
<DashButton url="/?to=/:account/stream/analytics" />
912

1013
The Stream Analytics API uses the Cloudflare GraphQL Analytics API, which can be used across many Cloudflare products. For more about GraphQL, rate limits, filters, and sorting, refer to the [Cloudflare GraphQL Analytics API docs](/analytics/graphql-api).
1114

1215
## Getting started
1316

14-
1. [Generate a Cloudflare API token](https://dash.cloudflare.com/profile/api-tokens) with the **Account Analytics** permission.
15-
2. Use a GraphQL client of your choice to make your first query. [Postman](https://www.postman.com/) has a built-in GraphQL client which can help you run your first query and introspect the GraphQL schema to understand what is possible.
17+
1. In the Cloudflare dashboard, go to the **Account API tokens** page.
18+
19+
<DashButton url="/?to=/:account/api-tokens" />
20+
21+
2. Generate an API token with the **Account Analytics** permission.
22+
3. Use a GraphQL client of your choice to make your first query. [Postman](https://www.postman.com/) has a built-in GraphQL client which can help you run your first query and introspect the GraphQL schema to understand what is possible.
1623

1724
Refer to the sections below for available metrics, dimensions, fields, and example queries.
1825

src/content/docs/stream/getting-analytics/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ sidebar:
55
order: 8
66

77
---
8+
import { DashButton } from "~/components";
89

910
Stream provides server-side analytics that can be used to:
1011

1112
* Identify most viewed video content in your app or platform.
1213
* Identify where content is viewed from and when it is viewed.
1314
* Understand which creators on your platform are publishing the most viewed content, and analyze trends.
1415

15-
You can access data via the [Stream dashboard](https://dash.cloudflare.com/?to=/:account/stream/analytics) or via the [GraphQL Analytics API](/stream/getting-analytics/fetching-bulk-analytics).
16+
You can access data on either:
17+
- The Stream **Analytics** page of the Cloudflare dashboard.
18+
19+
<DashButton url="/?to=/:account/stream/analytics" />
20+
21+
- The [GraphQL Analytics API](/stream/getting-analytics/fetching-bulk-analytics).
1622

1723
Users will need the **Analytics** permission to access analytics via Dash or GraphQL.

src/content/docs/stream/manage-video-library/using-webhooks.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ sidebar:
66

77
---
88

9-
import { Details } from "~/components"
9+
import { Details, DashButton } from "~/components"
1010

1111
Webhooks notify your service when videos successfully finish processing and are ready to stream or if your video enters an error state.
1212

1313
## Subscribe to webhook notifications
1414

15-
To subscribe to receive webhook notifications on your service or modify an existing subscription, you will need a [Cloudflare API token](https://dash.cloudflare.com/profile/api-tokens).
15+
To subscribe to receive webhook notifications on your service or modify an existing subscription, generate an API token on the **Account API tokens** page of the Cloudflare dashboard.
16+
17+
<DashButton url="/?to=/:account/api-tokens" />
1618

1719
The webhook notification URL must include the protocol. Only `http://` or `https://` is supported.
1820

src/content/docs/stream/pricing.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Pricing
44
sidebar:
55
order: 30
66
---
7+
import { DashButton } from "~/components";
78

89
Cloudflare Stream lets you broadcast, store, and deliver video using a simple, unified API and simple pricing. Stream bills on two dimensions only:
910

@@ -16,7 +17,9 @@ Ingress (sending your content to us) and encoding are always free. Bandwidth is
1617

1718
## Minutes of video stored
1819

19-
Storage is a prepaid pricing dimension purchased in increments of $5 per 1,000 minutes stored, regardless of file size. You can check how much storage you have and how much you have used on the [Stream](https://dash.cloudflare.com/?to=/:account/stream) page in Dash.
20+
Storage is a prepaid pricing dimension purchased in increments of $5 per 1,000 minutes stored, regardless of file size. You can check how much storage you have and how much you have used on the **Stream** page of the Cloudflare dashboard.
21+
22+
<DashButton url="/?to=/:account/stream" />
2023

2124
Storage is consumed by:
2225

@@ -42,7 +45,9 @@ Enterprise customers _may_ continue to upload new content beyond their contracte
4245

4346
## Minutes of video delivered
4447

45-
Delivery is a post-paid, usage-based pricing dimension billed at $1 per 1,000 minutes delivered. You can check how much delivery you have used on the [Billable Usage](https://dash.cloudflare.com/?to=/:account/billing/billable-usage) page in Dash or the [Stream Analytics](https://dash.cloudflare.com/?to=/:account/stream/analytics) page under Stream.
48+
Delivery is a post-paid, usage-based pricing dimension billed at $1 per 1,000 minutes delivered. You can check how much delivery you have used on the **Billing** page or the Stream **Analytics** page of the Cloudflare dashboard.
49+
<DashButton url="/?to=/:account/billing" />
50+
<DashButton url="/?to=/:account/stream/analytics" />
4651

4752
Delivery is counted for the following uses:
4853

0 commit comments

Comments
 (0)