62 lines
1.2 KiB
HTML
62 lines
1.2 KiB
HTML
![]() |
<a
|
||
|
href="{$normal_vid_file}"
|
||
|
style="display:block;width:651px;height:368px;"
|
||
|
id="the_Video_Player">
|
||
|
</a>
|
||
|
|
||
|
<script language="JavaScript">
|
||
|
var pakplayer_path = '{$pak_player_url}';
|
||
|
var player_logo = '{$player_logo}';
|
||
|
var hq_video_file = '{$hq_vid_file}';
|
||
|
var normal_video_file = '{$normal_vid_file}';
|
||
|
|
||
|
var pre_item = "";
|
||
|
var next_item = "";
|
||
|
|
||
|
flowplayer("the_Video_Player", "{$pak_player_url}/pak_player.swf", {literal}{
|
||
|
|
||
|
screen: {
|
||
|
bottom: 0 // make the video take all the heigh
|
||
|
},
|
||
|
|
||
|
// change the default controlbar to modern
|
||
|
plugins: {
|
||
|
controls: {
|
||
|
|
||
|
background: "url("+pakplayer_path+"/bg.png) repeat",
|
||
|
border: "1px solid #e6e6e6",
|
||
|
autoHide : true,
|
||
|
},
|
||
|
//lighttpd: {
|
||
|
// url: pakplayer_path+'/flowplayer.pseudostreaming-3.2.2.swf'
|
||
|
// }
|
||
|
},
|
||
|
canvas: {
|
||
|
backgroundGradient: "none",
|
||
|
backgroundColor: "#000000"
|
||
|
}
|
||
|
,
|
||
|
clip:{
|
||
|
url : normal_video_file,
|
||
|
onLastSecond: function()
|
||
|
{
|
||
|
if(next_item)
|
||
|
window.location = next_item;
|
||
|
},
|
||
|
onFinish : function()
|
||
|
{
|
||
|
this.loadPlugin('content');
|
||
|
}
|
||
|
},
|
||
|
// now we can tweak the logo settings
|
||
|
logo: {
|
||
|
url: player_logo,
|
||
|
fullscreenOnly: false,
|
||
|
displayTime: 5,
|
||
|
bottom:20,
|
||
|
left: 5,
|
||
|
fadeSpeed: 5000,
|
||
|
}
|
||
|
|
||
|
}{/literal});
|
||
|
</script>
|