Facebook - Embedded video code on webpage

I am integrating Facebook video into my webpage. It works fine, now I am detecting when the user clicks the play button.

Can anyone help me figure it out?

Below is my html page code

<body  id="mainbody">
<div id="fb-root"></div>
<script>(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#xfbml=1&version=v2.4";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-video" data-href="https://www.facebook.com/facebook/videos/10153231379946729/" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/facebook/videos/10153231379946729/"><a href="https://www.facebook.com/facebook/videos/10153231379946729/">How to Share With Just Friends</a><p>How to share with just friends.</p>Posted by <a href="https://www.facebook.com/facebook">Facebook</a> on Friday, December 5, 2014</blockquote></div></div>

</body>

      

+3


source to share


1 answer


You can use Google Analytics event tracking for embedded video. Follow this link for more information



0


source







All Articles