Loading...
 
Skip to main content

History: PluginOEmbed

Source of version: 19

Copy to clipboard
            ! Plugin OEmbed
This ((wiki plugin)) enables embedding of external videos or media into Tiki pages using the oEmbed protocol. It fetches and processes metadata from a provided media URL, generating an embedded media player.

!! Parameters
Embed a video or media using oEmbed protocol
''Introduced in Tiki 29.'''' Required parameters are in'' -+__bold__+-.
[https://gitlab.com/tikiwiki/tiki/-/blob/master/lib/wiki-plugins/wikiplugin_oembed.php|Go to the source code]
''Preferences required:'' wikiplugin_oembed
 

||__Parameters__|__Accepted Values__|__Description__|__Default__|__Since__
 -+__url__+-|url|Complete URL to the oEmbed video or media| | 
 -+height+-|digits|Height in pixels. Default: -+315+-|315| 
 -+start+-|digits|Start time offset in seconds|0| 
 -+width+-|digits|Width in pixels. Default: -+560+-|560| 
 -+privacyEnhanced+-|y %%% n|Enable privacy-enhanced mode (if applicable)| | 
 -+allowFullScreen+-|y %%% n|Enlarge video to full screen size|y| 
 -+background+-| |Object background color. Use an HTML color code. Example: -+ffffff+-| | 
 -+border+-| |Object border color. Use an HTML color code. Example: -+ffffff+-| | ||

Note : You can use the provided parameters like width, height, allowFullScreen, etc. to customize the oEmbed output. Refer to the [https://oembed.com/|oEmbed documentation] for additional details.

!! Show a video
''Here is an example of how to use the oEmbed plugin:''
{CODE(colors="tiki")}
{oembed url="https://videos.evoludata.com/w/2aGghaFr12Cg1Nj1ckqznH" background="000000" border="ff0000" allowFullScreen="y"}
{CODE}

''Important Notes'': 
* This plugin is only available starting from -+Tiki 29+-.  
* It is not possible to display the video here because doc.tiki.org is currently running Tiki 28.
* This integration works with -+PeerTube+- instances that follow the oEmbed specification and provide the -+/services/oembed+- endpoint.
* No automatic discovery protocol is currently implemented. Only services using the -+/services/oembed+- URL are supported in this version.
* Example videos can be found on public PeerTube instances like [https://videos.evoludata.com|Evoludata's PeerTube].

!! Known Limitations:
* The current implementation only supports PeerTube instances with oEmbed endpoints (e.g., `/services/oembed`).
* No automatic URL discovery is available for PeerTube. Users must provide the exact URL for oEmbed integration.
* Only services that provide an iframe in the HTML attribute are supported for embedding.


!! To Do:
* Consider adding a more complex URL discovery mechanism in future versions.
* Test the implementation with multiple PeerTube instances to ensure compatibility.
        

History

Information Version
Olivier Kango 20
Olivier Kango 19
Olivier Kango 18
Olivier Kango 17
Olivier Kango 16
Olivier Kango 15
Olivier Kango 14
Olivier Kango 13
Olivier Kango 12
Olivier Kango 11
Olivier Kango 10
Olivier Kango 9
Olivier Kango 8
Olivier Kango 7
Olivier Kango 6
Olivier Kango 5
Olivier Kango 4
Olivier Kango 3
Olivier Kango 2
Olivier Kango 1