【问题标题】:flvplayer.swf player to play the video?flvplayer.swf 播放器播放视频?
【发布时间】:2010-04-06 17:17:14
【问题描述】:

我正在使用 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>

【问题讨论】:

  • 这是嵌入代码 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="50px" 400px; 高度: >

标签: flash flvplayer


【解决方案1】:

Long Tail 提供一个名为 JW Player 的免费 flvplayer。此播放器允许您在 flashvars 中指定图像 - 给定播放器是否允许指定图像很大程度上取决于各个 API。

对于 JW Player,您可以设置:

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

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

【讨论】:

  • 没问题 - 很高兴为您提供帮助。
猜你喜欢
  • 1970-01-01
  • 2014-06-13
  • 1970-01-01
  • 1970-01-01
  • 2014-05-01
  • 1970-01-01
  • 2019-08-13
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多