Is there a 'complete' event on embedded facebook videos? - facebook

I want to embed a facebook video in a webapp but do something when it's over.
Similarly to the YouTube API Player, is there any 'complete' event I can listen to on embedded FB videos?

One solution/workaround a friend reminded me of is embedding the mp4 in jwplayer and hooking into the player's events API.
Sounds like it might work, but I would rather use a better solution is there is one.

Related

How can I determine if a Soundcloud track is a preview (Soundcloud GO) based on its URL?

My app retrieves tracks from Soundcloud and plays them.
But since a few weeks, it seems that Soundcloud has changed the way it works; and now I often get "preview" tracks; so I can only listen to 30s.
I would like to invalidate those tracks in my app.
Is there a way to do this ?
It seems there is nothing in the URL that permits to recognize those tracks. Maybe I have to do an API call it.
I'm searching for the most basic solution possible.
Thanks !

Posting HTML to facebook

I recently saw a Vimeo video on facebook that had a call to action at the end that's set up in the Vimeo admin. So basically facebook is somehow allowing sharing of videos from Vimeo to play on facebook's platform through the Vimeo API,
Does anybody know how they're doing this?
Hard to tell without looking at the Facebook post itself, but there are two possibilities:
If the video is playing in Facebook's native video player, then the page uses Vimeo's Publish to Social feature, which was released last fall: https://vimeo.com/blog/post/publish-videos-to-your-social-channels-instantly
If the video is playing with the Vimeo Player, then the video has a CTA end screen, documented here: https://help.vimeo.com/hc/en-us/articles/115007893267-End-screens.
Note that these features require a Vimeo PRO or Business account.

Facebook Instant Articles Audio Player

How do you add an audio player to a Facebook Instant Article?
I'm not able to get my instant articles approved by Facebook because the web content from which I'm creating my articles has an audio player, but my instant article does not.
I've tried the html5 audio player with no luck, and the link Facebook reviewers provided me for guidance is a 404 : https://developers.facebook.com/docs/instant-articles/reference/audio
Has anyone else had success?
The audio Functionality and The audio caption seen in The original promo Content seem to have been removed, but I haven't been able to find any reason. I am considering using figure and uploading audio to YouTube or similar as a workaround.

Using Facebook for an online magic contest (Video upload /

I am currently developing a new website / facebook app for an online magic competition. I am hoping most of the functionality can come from Facebook's own services, and would like your feedback on how plausible our goals are.
Essentially there will be two types of users: magicians and voters. Magicians will upload a video of them performing a trick (or select a video they have already uploaded). Voters will vote for their favourite magicians, and be able to post these videos to their wall.
Are these possible:
Video upload to Facebook - I have had a search, but the only method I found uses the depreciated REST API. Is there a newer implementation?
Video download - After a user has uploaded a video are they (or can we) able to download their video from Facebook?
Embedding magicians Facebook videos on the standalone website?
Thank you in advance
You can still upload videos and photos using the graph api. We have done this into galleries for a number of clients.
see here for a picture example (works with other media objects such as videos):
Is it possible to post a status update and adding an image file with facebook graph API?
The problems you may face though are the issues of managing and approving content in the site.
One solution we have found is to combine YouTube API and Facebook to get the best of both worlds. you can now embed a YouTube uploader in your site / app which will post videos into a channel of yours but have an approval app to control what lands. Then add any voting mechanism of your choice to the stream of videos. You can use YouTube likes, Facebook likes or your own. Take a look at this video:
http://www.youtube.com/watch?v=u1zgFlCw8Aw
You can embed a YouTube channel into Facebook easily too:
http://www.youtube.com/watch?v=pClpKAnddGI
Also using youtube, you can spread your net farther to reach more of an audience.
Hope this can be of some help. (No, I don't work for YouTube just find using more than one platform better)

Custom embedded player in Facebook posts

I have built an audio sharing application (pretty similar to soundcloud.com, but focused on a niche and just one country). I'd like to enable people to hear the tracks directly from Facebook, like they can do it with eg. Spotify.
I am having a trouble with getting development docs on how to do that.
Cheers,
Pablox
Deep-integration with Facebook (such as Spotify have done) is done via the Open Graph APIs, the beta documentation is covered here: https://developers.facebook.com/docs/opengraph
If you just want users to be able to embed a player in posts/likes of your content, any app can do this with the use of meta tags on the pages, and this is covered under 'Attaching Audio and Video Data' on the Open Graph documentation