Topic on Extension talk:EmbedVideo

2405:9800:B900:9B16:B8F8:DBE9:54A7:B6E9 (talkcontribs)

Would there be consideration for allowing Odysee embeds via this extension?


They offer an <iframe> embed for their videos, which looks like this:


<iframe id="odysee-iframe" width="560" height="315" src="h..ps://odysee.com/$/embed/@garyshobbystudio:7/how-to-use-mediawiki:6?r=3hvd3Bk57eDVauXeq3DqESFuXHBd3cXz" allowfullscreen></iframe>

2405:9800:B900:9B16:AF8B:DD9C:48E6:277B (talkcontribs)

I have attempted to create the entry for Odysee.


There are two parts I have not completed, the regexes, as I am not familiar.


Would anyone be able to adjust the entry so it could be added to the code? Thank you.


'odysee' => [

           'embed'            => '<iframe title="%4$s" src="//odysee.com/$/embed/%1$s" width="%2$d" height="%3$d" frameborder="0" allowfullscreen="true"></iframe>',

           'default_width'    => 640,

           'default_ratio' => 1.77777777778, // (560 / 315)

           'https_enabled'    => true,

           'url_regex'        => [

               '#odysee\.com/$/embed/([\d\w\-_][^/\?\#]+):2?r=BrEUMt77bNfb5yfJKzoiAE8USySMVXHH#is'

           ],

           'id_regex'        => [

               '#^([a-zA-Z0-9]+)$#is'

           ]

       ],

98.97.61.41 (talkcontribs)

Would love to see this working. Youtube censorship is ridiculous.

Reply to "Option for Odysee?"