Google Chrome Error Message: "Uncaught (in promise) DOMException: play()"

In Google Chrome, I get this error:

Uncaught (in promise) DOMException: play()

My php code:

<a href="javascript:void(0);" onclick="aj('player')"></a>

My js code:

case "player":
    var request = new XMLHttpRequest(); 
    var fileId = info.match(/\/view\/([a-zA-Z0-9]+)/g)[0].substr(6),
        request.onload = successListener;  
        function successListener() {  
    var data = JSON.parse(this.responseText);  
    var player = '<iframe width="668" height="100" autoplay="true" frameBorder="0" src="https://'music.com/getEmbedPlayer/'+ fileId +'?width=668&autoplay=true&date='+ data.uploadDate +'"></iframe>';


from Recent Questions - Stack Overflow https://ift.tt/311Wyym
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation