<script src="http://bestgoal.top/js/playerjs.js" type="text/javascript"></script>
<div id="player"></div>
var player = new Playerjs({id:"player", file:"http://198.16.64.45:8081/telenovella/index.m3u8"});
<!DOCTYPE html>
<html>
<head>
<title>graph eginere</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale = 1.0" />
<script src="https://game.lastuniverse.ru/player.01/js/playerjs.01.js" type="text/javascript"></script>
</head>
<body class="my_body">
<div id="player"></div>
<script>
window.onload = function() {
var player = new Playerjs({id:"player", file:"https://game.lastuniverse.ru/player.01/data/video/test.01.mp4"});
};
</script>
</body>
</html>
var n = 330;
var v = 0;
for(var k=1; k<=n; k++){
v+=factorial(n)/(factorial(k)*factorial(n-k));
}
console.log(v);
function factorial(n){
var result = 1;
while(n){
result *= n--;
}
return result;
}