How to make QWebEngineView of PyQt5 able to play audio?
<p>I want to play audio on the web use QWebEngineView of PyQt5. This is my code:</p>

<pre><code>import sys

from PyQt5 import QtWebEngineWidgets, QtWidgets

if __name__ == '__main__':
    app = QtWidgets.QApplication([])

    view = QtWebEngineWidgets.QWebEngineView()
    view.settings().setAttribute(QtWebEngineWidgets.QWebEngineSettings.PluginsEnabled, True)
    view.settings().setAttribute(QtWebEngineWidgets.QWebEngineSettings.JavascriptEnabled, True)

    html = '''
    &lt;html&gt;
        &lt;audio id="pron" src="http://static.sfdict.com/staticrep/dictaudio/A06/A0612000.mp3"&gt;&lt;/audio&gt;
        &lt;button onclick="document.getElementById('pron').play()"&gt;Play!&lt;/button&gt;
    &lt;/html&gt;'''
    view.setHtml(html)

    view.resize(250, 150)
    view.move(300, 300)
    view.show()

    sys.exit(app.exec_())
</code></pre>

<p>But when I click the <code>Play</code> button, the audio not play. What's wrong with me?</p>