English 中文(简体)
MediaElement.js一下,如果标注4后列名,就没有下载网上档案。
原标题:MediaElement.js with Chrome fails to download webm file if listed after mp4

When I use MediaElement.js and list first the mp4 file and then webm, then it doesn t play anything in Chrome (11.0.686.3 dev).
It works fine in Safari/FF/Opera.
It works fine in Chrome if I list mp4 first and webm second but don t call mediaelementplayer, using native HTML5 video.
It also works fine in Chrome (and others) if I call mediaelementplayer but list webm file first. I ve tried all variations and can t figure out this behavior. I got around it on by changing source order on server side for Chrome, but i m not a fan of that solution.
If anyone has any ideas I d be grateful.

My HTML

<video width="475" height="275" controls="controls">  
    <source src="/media/BetterDays.mp4" type= video/mp4; codecs="avc1.42E01E, mp4a.40.2"  />   
    <source src="/media/BetterDays.webm" type= video/webm; codecs="vp8, vorbis" />  
    <source src="/media/BetterDays.theora.ogv" type= video/ogg; codecs="theora, vorbis"  />

   <!-- Flash fallback -->  
   <object width="475" height="275" type="application/x-shockwave-flash" data="/javascripts/flashmediaelement.swf">  
        <param name="movie" value="/javascripts/flashmediaelement.swf" />  
        <param name="flashvars" value="controls=true&poster=/images/better_poster_200.jpg&file=/media/BetterDays.mp4" />  
    </object>  
    <!-- Image as a last resort -->  
    <img src="/images/better_poster_200.jpg" width="475" height="275" title="No video playback capabilities" />  
</video>  

My jQuery call:
$( video ).mediaelementplayer();

问题回答

I m guessooking 11 是第一个将H.264除去的版本,因此,对它如何报告它能够和能够发挥什么作用来说,事情可能很少见。 我向 Chrome子频道转机,看看看我看看看看什么。

最好在上提出。 既然这确实是一个执行问题。

我认为,我有同样的问题。 第一部用来 in击参与者的《贵族法典》是:

var player = new MediaElementPlayer( #video-player ,{});
player.play();

之后,我改为:

$( #video-player ).mediaelementplayer({
    success: function(player, node) {
        $( #  + node.id +  -mode ).html( mode:   + player.pluginType);
    }
});

h)

我将录像带上的前载改为“auto”,并投入使用。 I m 运行





相关问题
Redirect to cache URL in Chrome browser

self.location = cache: + self.location I want to redirect from "[URL]" to "cache:[URL]". I just want this code to work in Chrome browser.

我如何更新/重载 Chrome延?

I m在4号 Chrome(目前为4.0.249.0)中开发一个延伸点,显示用户在地位酒吧中的形象。 Ive设计了一个供用户使用的备选办法网页......

Setting Opacity in CSS For Chrome

I ve tried the following: (this is actually for fancybox, as the overlay does not show in chrome/safari: $("#fancy_overlay").css({<br /> background-color : opts....

Chrome Blocking Javascript, Google Wave, Google Gadgets

Project: Developing a gadget template for Google Wave which will allow my Flash movies to interact with the Wave api. I had to adapt the existing Flex application so that it would work with ...

image height using jquery in chrome problem

$( img ).height() returns 0 in chrome, but it returns the actual height in IE and firefox. Whats the actual method to get the height of the image in chrome?

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Table cells bad rendering with Google Chrome/Webkit

On the following code, COL1A and COL3A are not 50% height with Chrome or Webkit. It works fine with IE7 and Firefox. <table border="1"> <tr> <td height="100%">COL 1A</td>...

热门标签