TVPlayer 2 Embed body,html { margin: 0; padding: 0; } body{ width: 100%; height: 100%; position: absolute; } #player2-wrapper { width: 100%; height: 100%; } #player2-wrapper > div { width: 30%; height: 30%; zoom: 1.4; -moz-transform: scale(1.4); } (function (window, document) { "use strict"; function Player(elm) { if ( typeof window["tvPlayer2"] === "object" ) { var data = elm.dataset; if(!data){ data = {}; data['videoId'] = elm.getAttribute('data-video-id'); data['endpoint'] = elm.getAttribute('data-endpoint'); } var TVPlayer = window.tvPlayer2.TVPlayer; var tvplayer = null; this.init = function (videoId, endpoint) { tvplayer = new TVPlayer({ parent: "#player2", endpoint: endpoint, resourceID: videoId + "", themeName: "default", autoplayConfig: 'disable', pluginsList: [], statistics: { gaTrackingId: "UA-126866720-1", gemiusAccountId: "AotLcG7O0IySPlFwVR9l8aRu.j06bC7gKvd07qoHXzf.67", gStreamAccountId: ".F4wq3hgS5eecNPg4Did0qdFPzfs128ifYRHR21h1Ij.r7" }, ready: function (_player) { window['__player' + videoId] = _player; } }); }; this.init(data.videoId, data.endpoint); } } new Player(document.getElementById('player2')); }(window, document));