📄 flv_play.php
字号:
<?# FLV player - plays the FLV file created to preview video resources.$flashpath="../download.php?noattach=true&ref=$ref&ext=flv";$flashpath=urlencode($flashpath);$thumb=get_resource_path($ref,"pre",false,"jpg");$thumb=urlencode($thumb);# Choose a colour based on the theme.# This is quite hacky, and ideally of course this would be CSS based, but the FLV player requires that the colour# is passed as a parameter.# The default is a neutral grey which should be acceptable for most user generated themes.$theme=(isset($userfixedtheme) && $userfixedtheme!="")?$userfixedtheme:getval("colourcss","greyblu");$colour="505050";if ($theme=="greyblu") {$colour="446693";}?><object type="application/x-shockwave-flash" data="flashplayer/player_flv.swf" width="480" height="270" class="Picture"> <param name="movie" value="flashplayer/player_flv.swf" /> <param name="FlashVars" value="flv=<?=$flashpath?>&width=480&height=270&startimage=<?=$thumb?>&margin=0&buffer=10&autoload=1&showstop=1&playercolor=<?=$colour?>" /></object>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -