Skip to content

Commit e60ef7d

Browse files
committed
[Stream] DVR edits
1 parent 227e565 commit e60ef7d

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

src/content/changelogs-next/2025-02-12-introducing-dvr-for-stream-live.mdx renamed to src/content/changelogs-next/2025-02-14-introducing-dvr-for-stream-live.mdx

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
and replay Live content during broadcasts.
77
products:
88
- stream
9-
date: 2025-02-12T12:00:00Z
9+
date: 2025-02-14T12:00:00Z
1010
---
1111

1212

@@ -24,6 +24,22 @@ pick the best experiences for their applications.
2424
## How to get started
2525

2626
This feature is already available to all customers. When building a player embed
27-
code or manifest URL, add `dvrEnabled=true` as a query parameter. There are some
28-
things to be aware of when using this option. For more information, refer to
29-
[@TODO PLACEHOLDER](/)
27+
code or manifest URL, add `dvrEnabled=true` as a query parameter.
28+
29+
``` html title="Player Embed Code"
30+
<div style="position: relative; padding-top: 56.25%;">
31+
<iframe
32+
src="https://customer-<CODE>.cloudflarestream.com/<INPUT_ID|VIDEO_ID>/iframe?dvrEnabled=true"
33+
style="border: none; position: absolute; top: 0; left: 0; height: 100%; width: 100%;"
34+
allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
35+
allowfullscreen="true"
36+
></iframe>
37+
</div>
38+
```
39+
40+
``` text title="HLS Manifest"
41+
https://customer-<CODE>.cloudflarestream.com/<INPUT_ID|VIDEO_ID>/manifest/video.m3u8?dvrEnabled=true
42+
```
43+
44+
There are some things to be aware of when using this option. For more
45+
information, refer to [DVR for Live](/stream/stream-live/dvr-for-live/).

src/content/docs/stream/stream-live/dvr-for-live.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resume, and fast-forward a live broadcast. To enable DVR mode, simply add the
1111
`dvrEnabled=true` query parameter to the Stream Player embed source or the HLS
1212
manigest URL. For example:
1313

14-
``` html title="Embed Code"
14+
``` html title="Stream Player Embed Code"
1515
<div style="position: relative; padding-top: 56.25%;">
1616
<iframe
1717
src="https://customer-<CODE>.cloudflarestream.com/<INPUT_ID|VIDEO_ID>/iframe?dvrEnabled=true"
@@ -28,7 +28,7 @@ When DVR mode is enabled the Stream Player will:
2828
the timeline will automatically scale to show the growing duration of the broadcast.
2929
- The "LIVE" indicator will show grey if the viewer is behind the live edge or
3030
red if they are watching the latest content. Clicking that indicator will jump
31-
back to the live edge.
31+
forward to the live edge.
3232
- If the viewer pauses the player, it will resume playback from that time instead
3333
of jumping forward to the live edge.
3434

@@ -72,3 +72,4 @@ When using DVR Mode on a Live Input ID URL:
7272
than Version 6, which Stream Live and On-Demand currently use. HLS v8 offers
7373
extremely broad compatibility but may not work with certain old player libraries
7474
or older devices.
75+
- DVR Mode is not available for DASH manifests.

0 commit comments

Comments
 (0)