Add missing api=1 info in embed quickstart

pull/2530/head
Chocobozzz 2020-02-28 14:01:17 +01:00
parent b6e0e6a31b
commit 9a207a71b2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ For instance, the playground URL for the above embed URL is `https://my-instance
## Quick Start
Given an existing PeerTube embed `<iframe>`, one can use the PeerTube Embed API to control it by first including the library. You can include it via Yarn with:
Given an existing PeerTube embed `<iframe>` **with API enabled** (`https://my-instance.example.com/videos/embed/52a10666-3a18-4e73-93da-e8d3c12c305a?api=1`),
one can use the PeerTube Embed API to control it by first including the library. You can include it via Yarn with:
```
yarn add @peertube/embed-api