Pending Review
Last Updated: 07 Nov 2019 19:57 by OKHouse Webmaster
OKHouse Webmaster
Created on: 07 Nov 2019 19:57
Category: UI for ASP.NET AJAX
Type: Feature Request
0
RadMediaPlayer facebook

        <!-- Load Facebook SDK for JavaScript -->
        <script>
            //Executes on page load
            window.fbAsyncInit = function () {
                FB.init({
                    appId: '{your-app-id}',
                    xfbml: true,
                    version: 'v2.5'
                });

                // Get Embedded Video Player API Instance
                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.
0 comments