jQuery (documento) .ready (função () {
      jwplayer ( "player_1543972058"). configuração ({
          "playlist": "http://bvideo.blogo.it/feeds/jJxEySNe.json"
      });
  });
  

jQuery (documento). pronto (função () {

      var $ photoramaDiv = $ ('# id_5b6a046d672c9'). photorama ({
          fotoramaID: 'id_5b6a046d672c9',
          descID: 'id_5b6a046d672c9-desc',
          $ photorama: $ ('# id_5b6a046d672c9'),
          videoInSlide: 5,
          videoOverlay: $ (". ad-video-overlay"),
          galeria: $ ('# id_5b6a046d672c9'),
          jwplayer: jwplayer ("player_1543972058")
      });

      fotorama_id_5b6a046d672c9 = $ photoramaDiv.data ('photorama');

      // extensões:
      fotorama_id_5b6a046d672c9 .thumbNavigation ()
                    .addDownloadButton ()
          .addCounter ()
          .addDdescription ();
          //.enableAdvRefresh(apntag);
            fotorama_id_5b6a046d672c9.videoInGallery ();
      
      
      jwplayer ( "player_1543972058"). Em ( 'adComplete', function () {
          console.log ( "onAdComplete");
          fotorama_id_5b6a046d672c9.hide_video ();
      });

      jwplayer ( "player_1543972058"). onComplete (function () {
          console.log ( "onComplete");
          fotorama_id_5b6a046d672c9.hide_video ();
      });

      
  });