my site's home page on my facebook page when I want to have a live broadcast automatically live add-ons that do. (for wordpress), if there is no live broadcast, the last video will be played.
i did something like the following but it needs to create its own video id to be automatic. (automatic)
my question is; How the video id occurs automatically.
may be on a different path. codes may change completely. as long as there is a live broadcast on the site automatically
I hope I could tell you my problem.
<div class="fb-video" data-href="https://www.facebook.com/video.php?v=10152795258318553"
data-width="500" data-allowfullscreen="true"></div>
<script>window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : 'v3.2'
});
}; (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 = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-video" data-href="https://www.facebook.com/video.php?v=10152795258318553" data-width="500" data-allowfullscreen="true"></div>
Aucun commentaire:
Enregistrer un commentaire