Файл: social12/fo/flv.js
Строк: 68
<?php
function show_flv(file_id, thumb_path) {
if(document.getElementById('for_flv')) {
var player1=new SWFObject('http://nasimke.ru/js/uppod/uppod.swf','player','370','325',"9");
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&poster="+thumb_path+"&st=http://nasimke.ru/js/uppod/video.css");
player1.write("for_flv");inc_id = 1;
} else alert("create player failed!"); return false;
};
function show_flv_a(file_id, thumb_path) {
if(document.getElementById('for_flv')) {
var player1=new SWFObject('http://nasimke.ru/js/uppod/uppod.swf','player','238','265',"9");
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&poster="+thumb_path+"&st=http://nasimke.ru/js/uppod/video2.css");
player1.write("for_flv");inc_id = 1;
} else alert("create player failed!"); return false;
};
function show_flv2(file_id, thumb_path) {
if(document.getElementById('for_flv')) {
var player1=new SWFObject('http://nasimke.ru/js/flvplayer.swf','player','480','300','9');
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("wmode","opaque");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&image="+thumb_path+"&revolt-1");
player1.write("for_flv"); inc_id = 1;
} else alert("create player failed!"); return false;
};
function show_flv_blog(file_id, thumb_path, flv_id) {
flv_id = flv_id || null;
if(document.getElementById('for_flv'+flv_id)) {
var player1=new SWFObject('http://nasimke.ru/js/uppod/uppod.swf','player','370','325',"9");
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&poster="+thumb_path+"&st=http://nasimke.ru/js/uppod/video.css");
player1.write("for_flv"+flv_id);inc_id = 1;
} else alert("create player failed!"); return false;
};
function show_flv_a_blog(file_id, thumb_path, flv_id) {
flv_id = flv_id || null;
if(document.getElementById('for_flv'+flv_id)) {
var player1=new SWFObject('http://nasimke.ru/js/uppod/uppod.swf','player','238','265',"9");
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&poster="+thumb_path+"&st=http://nasimke.ru/js/uppod/video2.css");
player1.write("for_flv"+flv_id);inc_id = 1;
} else alert("create player failed!"); return false;
};
function show_flv2_blog(file_id, thumb_path, flv_id) {
flv_id = flv_id || null;
if(document.getElementById('for_flv'+flv_id)) {
var player1=new SWFObject('http://nasimke.ru/js/flvplayer.swf','player','480','300','9');
player1.addParam("allowfullscreen","true");
player1.addParam("allowscriptaccess","always");
player1.addParam("wmode","opaque");
player1.addParam("flashvars","file=http://nasimke.ru/"+file_id+"&image="+thumb_path+"&revolt-1");
player1.write("for_flv"+flv_id); inc_id = 1;
} else alert("create player failed!"); return false;
};
?>