我使用mediaelement.js作为音频播放器。为什么currentTime不能在Opera上使用flash?对此有何解决方案? currentTime只能用于html5吗?
示例: https://msdn.microsoft.com/en-us/library/system.threading.autoresetevent(v=vs.110).aspx
var player = new MediaElementPlayer('#player audio',
{ success: function (mediaElement, domObject) {
var TimePlayed = parseInt($.cookie('Played'));
$('.time').text(TimePlayed);
mediaElement.play();
mediaElement.addEventListener('timeupdate', function(e) {
$.cookie('Played', mediaElement.currentTime);
}, false); }
});

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/2.18.1/mediaelement-and-player.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/2.18.1/mediaelementplayer.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<div id="player">
<audio type="audio/mp3" controls="controls">
<Source src="http://mediaelementjs.com/media/AirReview-Landmarks-02-ChasingCorporate.mp3"></Source>
</audio>
</div>
<div class="time"></div>
&#13;