flv_play.php
来自「php网页设计」· PHP 代码 · 共 21 行
PHP
21 行
<?# 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 + =
减小字号Ctrl + -
显示快捷键?