Trying out embedding of PeerTube video on XenForo community platform using oEmbed.
Can paste either URL to a video like this:
Which will be rendered into:
Or use
That is rendered into:
Configuration of External media embeds is described in XenForo documentation, however, important parameters are in oEmbed Options:
No need to mess around with embed code (
Note that embedded player will not be rendered until visitor accepts third-party cookies - a warning will be shown until then:
Can paste either URL to a video like this:
Code:
https://video.gyt.is/w/6e7H8WAk6DDPvDEndpT2mX
Which will be rendered into:
Or use
Media
button in rich-text editor, which will generate BB code:
Code:
[MEDIA=inretiovideo]pmLV2NZ9QBhNRzeWJ1JvmY[/MEDIA]
That is rendered into:
Configuration of External media embeds is described in XenForo documentation, however, important parameters are in oEmbed Options:
- oEmbed API endpoint:
https://video.gyt.is/services/oembed
- oEmbed URL scheme:
https://video.gyt.is/w/{$id}
https://video.gyt.is/
is PeerTube server URL.No need to mess around with embed code (
div
s, iframe
s, etc.) - all required details will be retrieved from oEmbed object Note that embedded player will not be rendered until visitor accepts third-party cookies - a warning will be shown until then: