Embed facebook live with html5 video player script - facebook

There is any way to embed facebook live video into html page, with a custom video player script like mediaelementjs for example? Using rtmp that provide facebook when you do a live.
I have tested with this embed :
<video width="360" height="203" id="player1" src="rtmp://rtmp-api.facebook.com:443/rtmp/1327296050643313?ds=1&s_l=1&a=ATiweM9l1fKQFUUB" autoplay="true" type="video/rtmp" controls="controls"></video>
and JS init
<script type="text/javascript">
$('video,audio').mediaelementplayer(/* Options */);
</script>
But nothing in the page seems playing. someone have tested a player (maybe html5 player) for facebook live embed in html page?
Thanks

Have you checked the preview_url ? I haven't tested it, but in the documentation seems to be a method to get a preview_url in RTMP strem to preview the video you are recording.
Link to the documentation in Facebook
The problem for this workaound would be that the preview_url is limited to 4 hours and 10 viewers.

Related

How to track Facebook iframe video on my site with Google Analytics?

I have this video implemented on my website:
<iframe allowtransparency="true" frameborder="0" height="400" scrolling="no" src="..." style="border:none;overflow:hidden" width="560"></iframe>
What I want to do is to track how many people play the video and watch it full time or at least 1 minute.
I have tried with Event Tracking, but this way is not accurate, because the tracking code I have implemented will be working when the whole iframe is clicked, which is no guarantee that the video will be played.
Actually this method does not work at all.
Any help will be highly appreciated!
Due to the cross-origin nature of your iframe, you won't be able to track the video clicks inside it. You could fire an event when the iframe loads...but as you mentioned, that's not an accurate measure of "plays"
You could upload your video to YouTube, and use the YouTube iFrame API to create and track video plays on your website via Google Analytics Events.
As far as I'm aware, Facebook doesn't have anything similar for their embeds...but I could be wrong.

Facebook Instant Articles Video not playing

I am embbed a video in my artcile as follows: <figure class="op-interactive">
<iframe class="column-width" src="https://player.ooyala.com/player.swf?embedCode=xxxxxxxx&keepEmbedCode=true" width="320" height="180"></iframe>
</figure> I am embedding this right after the end of the <header> tag.
When I browse to the video URL, the video loads and plays. However, when viewing the article from my instant articles library using my iPhone 6s Plus, I just see a small circle where the video is supposed to be and it doesn't play. I tried a different combination embedding this video per the FB instant articles documentation to no avail. Am i doing anything wrong.

I would like to upload a youtube video on FB as native video and I want it to autorun

I would like to post a youtube video on my Facebook page, I used http://yt2fb.com/ to look like a native one and I would like it to autorun when I scroll down the page
I've downloaded http://www.thunderpenny.com/ and add autoplay=1 but it doesn't publish the video.
Do you have any suggestions?
Best
Sly

Can we make ajax requests on a FB embedded player

I have a js player on which I have added interactivity. It was pretty easy since I used the HTML5 video element.
I was trying to include this player on my FB page but i know we need a swf player which is flash.
how to share a video from my website on facebook like youtube
I want to know if we can make ajax calls in the swf player when its on FB timeline?
Is there an open source swf player that I can use to extend its functionality?

Embed html5 video player in facebook feed

Is it possible to embed html5 video player in facebook feed?
I tryed to setup OpenGraph meta tags, but after page sharing (http://autru.com/f) Facebook still doing post as link to website.
This is not possible at present. You can specify flash with fallback to mp4 etc, but you cannot have a custom HTML5 player for mp4.