Facebook Video Playlists

Facebook video playlists with mp4 videos

This example demonstrates playing Facebook videos with other formats include standard html5 videos.

    
  <div class="flex w-full">
          <div id="playlists" class="">
              <a class="fp-prev">prev</a>
              <a class="fp-next">next</a>
          </div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#playlists", {
    "playlist": [
        {
            "sources": [
                {
                    "src": "https://www.facebook.com/FacebookDevelopers/videos/10152454700553553/",
                    "type": "video/fbml"
                }
            ]
        },
        {
            "sources": [
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
                    "type": "video/webm"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
                    "type": "video/mp4"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.ogv",
                    "type": "video/ogg"
                }
            ]
        },
        {
            "sources": [
                {
                    "src": "https://www.facebook.com/ScienceNaturePage/videos/1321053124693609/",
                    "type": "video/fbml"
                }
            ]
        }
    ],
    "share": false
});
  </script>