I have a website that has a HTML5 video player.
I want to share the link ( ex: http://site.com/video/example-2 ) on facebook and one the users click on the image of that post on the facebook it starts playing the video there.
Just like youtube videos and vimeo videos.
How can I do that?
Thanks
I also used og:video to share video but on debugging it on https://developers.facebook.com/tools/debug/og/object/ , it gives warning error The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Facebook no longer permits inline playback for third party players. Vimeo even mentions this in their documentation.
Moving forward you will need to use Facebook's own video hosting platform if you want to have videos play inline in the newsfeed.
You want to find a good SWF (*.SWF) video player that can stream video from
url={video_Hot_link}
(passURL
parameter to theSWF
player)Now after you got your SWF player ready for streaming some videos add Facebook Open Graph to your
<head>
tag like below:Additionally, you need to add the following prefix to
<html>
likeso