trigger 'This video can't be embedded.' facebook video
<p>I try to trigger an facebook video error in javascript , I have this error in the player ( 'Unavailable
This video can't be embedded.' )</p>

<pre><code>&lt;script type="text/javascript"&gt;

window.fbAsyncInit = function() {
  FB.init({
    appId: 'XXXXXXXXXX',
    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;
    }
  });
};
(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'));

&lt;/script&gt;



&lt;div  
class="fb-video" 
data-href="https://www.facebook.com/businessinsider/videos/10153852489789071/" 
data-width="500" 
data-allowfullscreen="true"&gt;&lt;/div&gt;
</code></pre>

<p>How can I trigger when a video can't be play ? </p>