【问题标题】:Object to display video in IE needs a thumbnail在 IE 中显示视频的对象需要缩略图
【发布时间】:2011-08-22 12:32:09
【问题描述】:

我正在使用对象标签在 IE 中显示视频。但我似乎无法创建缩略图。

<object width="150" height="104" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" type="application/x-shockwave-flash" class="vjs-flash-fallback" style="margin-top:-23px; margin-left:-12px;">
      <param value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" name="movie">
      <param value="true" name="allowfullscreen">
      <param value="config={&quot;clip&quot;:{&quot;url&quot;:&quot;english_short.mp4&quot;,&quot;autoPlay&quot;:false,&quot;autoBuffering&quot;:true}}" name="flashvars">
     <!-- Image Fallback. Typically the same as the poster image. -->
    <img src="screen.png" width="150" height="104" alt="Poster Image"
      title="No video playback capabilities." />
      <img class="vjs-poster" style="width: 640px; height: 264px; display: block;" src="http://video-js.zencoder.com/oceans-clip.png"/>
    </object>

【问题讨论】:

  • 我怎样才能制作一个在播放尚未按下时显示的缩略图。现在只是黑屏

标签: html internet-explorer object video thumbnails


【解决方案1】:

据我所知,没有任何功能可以做到这一点。

通常的做法是在图像编辑器中创建静态图像并将其放置在图像应该去的位置。当用户点击播放按钮时,javascript 将图像替换为视频作为无缝过渡。

【讨论】:

    猜你喜欢
    • 2017-05-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-14
    • 1970-01-01
    • 2020-05-30
    • 2012-06-08
    • 1970-01-01
    相关资源
    最近更新 更多