Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.09k stars 1.51k forks source link

Add a sample of oembed code in the documentation #2637

Closed vincentxavier closed 3 years ago

vincentxavier commented 4 years ago

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:

[
  {
    "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.

gerhardbeck commented 3 years ago

It would also be great to add the Oembed endpoint (e.g. for Humhub)

Chocobozzz commented 3 years ago

Closed by https://framagit.org/framasoft/peertube/documentation/-/merge_requests/87