2010-01-17 99 views
5

好吧,我一直在研究这个整天和它的驾驶我坚果。流媒体播放器将播放* .flv的音频,但不播放视频,我不知道为什么。使用默认流水游戏flv网址的初始示例页面正常工作。当我将网址更改为我的godaddy网站时,它不起作用。的Flowplayer Flash组件播放声音,但没有视频

我搜索#1,Google搜索,当然,看上去在该网站的Flowplayer论坛。我发现一些文章谈论的Flash文件丢失了元数据,并抛出流媒体播放器。我正在使用Movavi Video Suite 8执行从mp4转换为闪存。我认为元数据在转换时包含在闪存文件中,但我不确定。我使用这里发现的元数据注入器:http://www.buraks.com/flvmdi/将元数据注入到Flash文件中,但仍然无法工作。

说明的也就是玩家的进度条显示的启动,电流,&结束时间的视频的价值,所以我认为,元数据是存在的。不过,我仍然不知道为什么这不起作用。

我不知道这是我的*。FLV文件作为玩家将加载MP4文件它从产生。我使用了名为MOVAVI Video Suite的高级应用程序来执行转换。我不认为是这种情况,因为我可以将转换后的* .flv文件上传到YouTube并且播放良好。

另外值得注意的是,当播放器指向我的godaddy站点时,Flow Player播放音频而不是视频,以及当它指向包含播放器的硬盘驱动器上的本地文件夹时,它是文件,视频文件和示例.html页面用于测试。

可能别的东西值得一提的是,我还没有把流动播放的文件在我的godaddy的网站还没有因为视频图像不显示在本地。

我与LongTailVideo播放器相同的问题。

这里是我的测试页面的HTML:

<!-- 
    include flowplayer JavaScript file that does 
    Flash embedding and provides the Flowplayer API. 
--> 
<script type="text/javascript" src="flowplayer-3.1.4.min.js"></script> 

<!-- some minimal styling, can be removed --> 
<link rel="stylesheet" type="text/css" href="style.css"> 

<!-- page title --> 
<title>Minimal Flowplayer setup</title> 

<div id="page"> 

    <h1>Minimal Flowplayer setup</h1> 

    <p>View commented source code to get familiar with Flowplayer installation.</p> 

    <!-- this A tag is where your Flowplayer will be placed. it can be anywhere --> 
    <a 
     href="http://www.thebaisenzone.com/rememberthejourney/example/VID00003.flv" 
     style="display:block;width:520px;height:330px" 
     id="player"> 
    </a> 

    <!--<a 
     href="file:///C:/Development/MVC/flowplayer/example/VID00003.flv" 
     style="display:block;width:520px;height:330px" 
     id="player"> 
    </a> --> 

    <!-- this will install flowplayer inside previous A- tag. --> 
    <script> 
     flowplayer("player", "flowplayer-3.1.5.swf"); 
    </script> 



    <!-- 
     after this line is purely informational stuff. 
     does not affect on Flowplayer functionality 
    --> 

    <p>  
     If you are running these examples <strong>locally</strong> and not on some webserver you must edit your 
     <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"> 
      Flash security settings</a>. 
    </p> 

    <p class="less"> 
     Select "Edit locations" &gt; "Add location" &gt; "Browse for files" and select 
     flowplayer-x.x.x.swf you just downloaded. 
    </p> 


    <h2>Documentation</h2> 

    <p> 
     <a href="http://flowplayer.org/documentation/installation/index.html">Flowplayer installation</a> 
    </p> 

    <p> 
     <a href="http://flowplayer.org/documentation/configuration/index.html">Flowplayer configuration</a> 
    </p> 

    <p> 
     See this identical page on <a href="http://flowplayer.org/demos/example/index.htm">Flowplayer website</a> 
    </p> 

</div> 

回答

0

是您的文件与Flash兼容?我的意思是Adobe Flash运行时支持的音频&视频编解码器? List of codecs supported by Adobe Flash Player这可能会导致错误。

作为另外一种你可以尝试不同的编码应用,WinFF是非常好,非常易于使用,基于FFmpeg的。在主WinFF窗口中点击转换为 - >网站设备预设 - > Flash视频的Web

2

我有同样的问题。 我的Flowplayer在页面主体的东西产生这样

<a href="../resimler/video/test.flv" class="flowplayer"> 
    <object width="100%" height="100%" type="application/x-shockwave-flash" data="../mult/flowplayer-3.2.7.swf" id="fp_43298124_api"> 
    <param value="true" name="allowfullscreen"> 
    <param value="always" name="allowscriptaccess"> 
    <param value="high" name="quality"> 
    <param value="false" name="cachebusting"> 
    <param value="#000000" name="bgcolor"><param value="config={&quot;playerId&quot;:&quot;fp_43298124&quot;,&quot;clip&quot;:{&quot;url&quot;:&quot;../resimler/video/test.flv&quot;},&quot;playlist&quot;:[{&quot;url&quot;:&quot;../resimler/video/test.flv&quot;}]}" name="flashvars"> 
    </object> 
</a> 

,当我把style="width:200px;height:200px"<object>标签,我能够看到视频。 可能会帮助某人

+0

当我连续放置两个视频时,它们全都消失了,你知道为什么吗?提前致谢。 – Tina 2016-12-19 09:32:43

1

我知道这是一个旧帖子,但我有同样的问题,也许这可能有助于某人。我通过在播放器的容器上放置宽度和高度来发现视频。

<div style="width: 200px; height: 200px"> 
    <a href="" .... flowplayer call 
</div> 
相关问题