Add a sample of oembed code in the documentation #2278

Open
opened 2026-02-22 06:35:21 -05:00 by deekerman · 0 comments
Owner

Originally created by @vincentxavier on GitHub (Apr 13, 2020).

I've not seen any oembed snippet code to add, and since it would be complicated to add a it to the reference file, you could give a snippet 👍

[
  {
    "schemes": ["https:\/\/instance.tube\/videos\/watch\/*"],
    "url":"https:\/\/instance.tube\/services\/oembed",
    "discovery":true
  }
]

I've tried it and it works well on a Moodle Instance, where instance.tube is a real PeerTube instance.

Originally created by @vincentxavier on GitHub (Apr 13, 2020). I've not seen any oembed snippet code to add, and since it would be complicated to add a it to the reference file, you could give a snippet :+1: ```json [ { "schemes": ["https:\/\/instance.tube\/videos\/watch\/*"], "url":"https:\/\/instance.tube\/services\/oembed", "discovery":true } ] ``` I've tried it and it works well on a Moodle Instance, where `instance.tube` is a real PeerTube instance.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PeerTube#2278
No description provided.