General Open Graph videos not working

(rizka) #1

I have something some expert could take a look at. Here’s a link to a video on the online streaming site of the Finnish public broadcast company’s service YLE: When you put the link on its own line, here is what happens:

They have some fancy modern video definitions in the source code. I don’t quite understand what goes wrong, but maybe somebody here does. There may even be some easy solution which could be beneficial if this kind of Open Graph becomes more common in the future.

<meta property="og:type" content="video.episode">
<meta property="og:video:duration" content="189">
<meta property="og:video:url" content=";iframeembed=true">
<meta property="og:video:secure_url" content=";iframeembed=true">
<meta property="og:video:type" content="text/html">
<meta property="og:video:width" content="1280">
<meta property="og:video:height" content="720">
<meta property="og:video:release_date" content="2018-09-18T09:54:00.000+03:00">

(Jeff Atwood) #2

Hmm, not sure, can you take a quick look @techapj and offer an opinion?

(Arpit Jalan) #3

The video link inside og:video:secure_url is not actually a link to raw video file but a link to webpage which does some javascript magic to show the video on page. For oneboxing to work the link in og:video:secure_url must point to a raw video file.

I’ll add it on my list to not try to onebox if the video link provided is invalid.