<!-- Load Facebook SDK for JavaScript -->
<script>
window.fbAsyncInit = function () {
FB.init({
appId: '{your-app-id}',
xfbml: true,
version: 'v2.5'
});
var my_video_player;
FB.Event.subscribe('xfbml.ready', function (msg) {
if (msg.type === 'video') {
my_video_player = msg.instance;
my_video_player.unmute();
}
});
};
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) { return; }
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
RadMediaPlayer provides built-in integration with Facebook urls from sql table.