我有一个拖放的网站,可用于计算机,平板电脑和手机。它使用jQuery,jQuery UI和jQuery UI Touch Punch。拖动会导致播放短音频片段,同时播放也会播放。 This fiddle有一个例子。
不幸的是,在当前版本的iOS Safari和Android Chrome中,音频无法正常工作。有办法解决这个问题吗?
此图片解释了各种浏览器版本中的行为:
图片描述:
iOS Safari:在iOS 8.4及更低版本中,拖动音频和丢弃音频都会播放。在iOS 9.0及更高版本中,拖动音频和丢弃音频都不会播放。
Android Chrome:在版本51.0.2704.81中,拖动音频和丢弃音频都会播放。在版本52.0.2743.98和版本55.0.2883.91中,拖动音频和丢弃音频都不会播放。在版本56.0.2924.87和63.0.3239.111中,拖动音频不会播放,但丢失的音频会播放。
这是代码,如果小提琴消失了:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Drag and Drop with Audio</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/css/base/jquery.ui.all.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.2/css/lightness/jquery-ui-1.10.2.custom.min.css" rel="stylesheet">
<style>
body {
background: #fff;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#draggable {
width: 100px;
height: 100px;
padding: 0.5em;
float: left;
margin: 10px 10px 10px 0;
}
#droppable {
width: 150px;
height: 150px;
padding: 0.5em;
float: left;
margin: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="demo">
<div id="draggable" class="ui-widget-content">
<p>Drag me to my target</p>
</div>
<div id="droppable" class="ui-widget-header">
<p>Drop here</p>
</div>
</div>
<div class="demo-description" style="display: none; ">
<p>Enable any DOM element to be droppable, a target for draggable elements.</p>
</div>
</div>
<audio id="audio-drag" src="data:audio/mpeg;base64,//OAxAAAAAAAAAAAAFhpbmcAAAAPAAAAPgAAHl8AAA0NFBsbHh4iJCQoLS0xMTQ4ODs/P0FBREdHTU1RVFRXWlpeXmBlZWhvb3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//1lupa5/7qSqlt//49/Vff///fzgEAELKvKwYIA6tBLaowA/y6meplJeAZCv/zgMT9OTMOvn+awASsp02MeS2jMmPTzQpwhAjCPQX4DWOkylCC3FvQQhomocqGszaXCDDw+P5hlgMbbqA4i3n6dMaE+YjoZEehB2ogdZY2ZJsKunYnKc4EPgPpYEJCiDoXWr15lcqK7bGg6g5gNz2e1dzvFwzrpxVb9tgssHFt////KEM795fX//92uPNrH///x/nNv/////4z18onW/rdqz7S5jXVQQCizszrCGgDZjNnrjADXn3f1HOUKzocS5S6Ax7viFLUGcpWQlcpexT/84DE2yxKzsJ/mHgAzEPoJwla8NxuP03TpLabagbzVTLGxIchWWFbOgxn9GA4U85WhMRbEIVjaqzJLls6lanYB1SvXvSaFvGmJeqEFtJ6/zWfcNPIdP6tj2dkZk5M4Q47+AkCwspOluMTlkxbNf///8GscCmVD/X/vHfxnu74xT/+us53v43///b/+I3v38elpr13//8eDQ/lVQAEFKqw7OQmDGzdMAgAA0cIKuR5GVF4iWRIgvspkBbFsR4SpRaDTDIVTVVC2mIHWq4hdwMI//OAxOwtku7Cf5h4AAagap4j1CZj/SzEwkFiH8OcC9DZ2cgmYJ+gwgvSyTp/HeQR4520FcJseo9IJkOoDKO5sabNwX4m5e0I1qQ5kOQ7Xx0KDbE3CZEyLcLcKaky2GqN+qyh7uBqQ3iUkJOmnxySp6Y6kS263ChuLDF//////////////zVWnsqqIgEhdqtplJRm19n8zGUblwixetdVgbw0gWVBWBQ5agsKHKWIpmjx0+KOJRSVSqZbVvoTlvC1NU1LKocYZDeYXIjFu5Coef/zcMT4LEputn+YeABg3gdp4XvYNGXvhTAZdarOFF4PjFe9//E+RL//6bLf//6m4JhUHY///jdlNh9R1v////66SDe0ribsljpUCakAc2SCBUCLmEGY46EI1c/x6qL8dZsFWZh3KNqkzLFtndNemtGgoJoa6MU54bx48TaiBh0xlkgK+JpsbJDoOlNo8fus7//ia3r/l/L+q4vzj+n///rJj//7qcx4Mm4gBiAYYQQBgMAc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tgBCEIQwhEL5h/EIRSl+b+YxSlKUpfKX5SlL6mMYxn6GN/+pSmAjPgq//OAxPMw4uLPHY/ABA0DR4ShsqCri3EQMgrgr/WCqkxBTUUzLjk5LjWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/zMMTyEBmaql/BEACqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/zEMTyAAAD/AAAAACqqqqqqqqqqqqqqqqq"></audio>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.2/jquery.ui.touch-punch.min.js"></script>
<script>
$(function() {
$("#draggable").draggable({
start: function() {
$("#audio-drag")[0].play();
}
});
$("#droppable").droppable({
drop: function(event, ui) {
$("#audio-drop")[0].play();
$(this)
.addClass("ui-state-highlight")
.find("p")
.html("Dropped!");
}
});
});
</script>
</body>
</html>
答案 0 :(得分:6)
播放音频现在在移动设备中受到很大限制,原因有很多,可以改善烦人广告的用户体验。您可以详细阅读here.
现在您需要通过有效的用户手势事件播放音频元素。这就是你的drop事件正在运行但拖拽事件不起作用的原因。
在这种情况下,Click事件最可靠。您所要做的就是首先通过点击事件播放音频,这将激活音频,然后您可以随后播放任何事件。
在这种情况下,最佳做法是让用户在执行任何操作之前单击按钮并静默播放音频,或者只播放音频的最后一个mili-second(通常是静音)。然后音频元素工作正常。
$("#ibutton").click(function(){
enable_audio($('#audio-drag'));
enable_audio($('#audio-drop'));
});
启用功能仅播放最后一毫秒。
function enable_audio(el){
var myaudio=el[0];
if(el.data('audio_enabled'))return;
myaudio.currentTime=myaudio.duration-1;
myaudio.play().then(function(){myaudio.pause();myaudio.load();});
el.data('audio_enabled',true);
}
这是一个有效的JSFiddle Demo。