You changed the og:video:type
from video/mp4
to text/html
so it gets our standard html article onebox.
-
If you want to embed a video file, you need to return a video file on the
og:video
tag and set the correct value forog:video:type
. -
If you want to embed arbitrary HTML that contains a custom video player, you need to respect the onebox rules:
- Your oembed must return an
iframe
(this appears to be ok) - The site must be allowed manually in each Discourse instance that wants to use it. Let’s test it:
- Your oembed must return an
Looks like it works, provided the site adds https://odysse.com
to the allowed iframes
site setting.