MediaElement.js Flash Fallback IE7和IE8寻求导致内存不足的错误

时间:2013-04-17 05:35:04

标签: jquery mediaelement.js

我发现使用带有闪回后退功能的mp4会导致JQuery在您在视频中向前搜索时出现内存不足错误,或者只是将鼠标悬停在进度条上。

我已经关闭了进度功能,这似乎解决了这个问题。关于为什么会这样发生的任何想法?它与闪存中的mp4流有关吗?

$('audio,video.default').mediaelementplayer({
    // enable debugger
    enablePluginDebug:false,
    // turned off progress
    features: ['playpause','current','duration','volume','fullscreen'],
    alwaysShowControls: true,
    // force iPad's native controls
    iPadUseNativeControls: true,
    // force iPhone's native controls
    iPhoneUseNativeControls: true,
    // force Android's native controls
    AndroidUseNativeControls: true,
    // turns keyboard support on and off for this instance
    enableKeyboard: false,
    // when this player starts, it will pause other players
    pauseOtherPlayers: true,
    // initial volume when the player starts
    startVolume: 0.8,
    // log error(s)
    error : function(mediaElement)
    {
        console.log('mediaelement problem is detected: '.mediaElement);
    }
});

0 个答案:

没有答案