Loading the player ...
nếu không xem được, xin chọn server 2
';else html_logo += ''+getParameterByName('logo')+'';}html_logo += '
';var tmp = document.createElement('div');tmp.innerHTML = html_logo;html_logo = tmp;document.getElementById('wrapper').appendChild(html_logo);var player = jwplayer("mediaplayer");player["setup"](obj_player);/*player play*/player.onPlay(function(){document.getElementById('ads').style.display='block';});/*player ready*/jwplayer().on('ready', function(){var leftGroup = document.getElementsByClassName('jw-controlbar-left-group')[0];rewind = 10;if(getParameterByName('rewind')=='' || getParameterByName('rewind')=='true' || getParameterByName('rewind')!=null && getParameterByName('rewind').match(/\d/g)){if(getParameterByName('rewind').match(/\d+/g)) rewind = getParameterByName('rewind').match(/\d+/g);var myRewButton = document.createElement("div");myRewButton.id = "myRewButton";myRewButton.setAttribute('class','jw-icon jw-icon-inline jw-button-color jw-reset icon-rewind');myRewButton.setAttribute('onclick','jwplayer().seek(jwplayer().getPosition()-'+rewind+')');leftGroup.insertBefore(myRewButton, leftGroup.childNodes[1]);}fast_forward = 10;if(getParameterByName('fast_forward')=='' || getParameterByName('fast_forward')=='true' || getParameterByName('fast_forward')!=null && getParameterByName('fast_forward').match(/\d/g)){if(getParameterByName('fast_forward').match(/\d+/g)) fast_forward = getParameterByName('fast_forward').match(/\d+/g);var myFFButton = document.createElement("div");myFFButton.id = "myFFButton";myFFButton.setAttribute('class','jw-icon jw-icon-inline jw-button-color jw-reset icon-fast-forward');myFFButton.setAttribute('onclick','jwplayer().seek(jwplayer().getPosition()+'+fast_forward+')');leftGroup.insertBefore(myFFButton, leftGroup.childNodes[2]);}if(getParameterByName('download')==null || getParameterByName('download')!='false'){var download_ = document.createElement("a");download_.setAttribute('class','jw-icon jw-icon-inline jw-button-color jw-reset icon-download3');download_.setAttribute('href','http://player1.toolshot.com/download/?'+url+'&referrer='+document.referrer);download_.setAttribute('target','_blank');document.getElementsByClassName('jw-group jw-controlbar-left-group jw-reset')[0].appendChild(download_);}});/*player error*/player.on('error', function() {deleteCache();});
x