flvplayer.swf玩家播放视频?

时间:2010-04-06 08:42:26

标签: flash flvplayer

我正在使用flvplayer.swf播放器,它正在播放视频,但在播放视频之前,播放器有黑屏和播放按钮。当我点击播放按钮时,视频会播放。

是否可以使用顶部的播放按钮而不是空白屏幕来显示视频的屏幕截图?

这是我的播放器的代码:

<embed
    id="fl"
    src="flvplayer.swf"
    bgcolor="#FFFFFF"
    align="left"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    flashvars="file=hospitaldemo.swf&autostart=false&frontcolor=0xCCCCCC&backcolor=0x000000&lightcolor=0x996600&showdownload=false&showeq=false&repeat=false&volume=100&useaudio=false&usecaptions=false&usefullscreen=true&usekeys=true"
    style="width: 400px; height: 350px">
</embed>

1 个答案:

答案 0 :(得分:0)

Long Tail提供名为JW Player的免费flvplayer。此播放器允许您在flashvars中指定图像 - 指定的播放器是否允许指定图像,这非常取决于单个API。

对于JW Player,您可以设置:

flashvars="[...]&image=myimage.png[...]"

http://developer.longtailvideo.com/trac/wiki/Player5FlashVars

相关问题