Skip to content

Commit

Permalink
Use token instead of URL in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
third774 committed Dec 8, 2023
1 parent 6036f56 commit c46c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ yarn add @cloudflare/stream-react
import { Stream } from "@cloudflare/stream-react";

export const App = () => {
const videoIdOrSignedUrl = "YOUR_VIDEO_ID_OR_SIGNED_URL";
const videoIdOrSignedToken = "YOUR_VIDEO_ID_OR_SIGNED_TOKEN";
return (
<div>
<Stream controls src={videoIdOrSignedUrl} />
<Stream controls src={videoIdOrSignedToken} />
</div>
);
};
Expand Down

0 comments on commit c46c11c

Please sign in to comment.