1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Only pause player if it is not ios

This commit is contained in:
Daniel Neto 2025-02-25 13:19:48 -03:00
parent 33c10b415a
commit b483a9cbc9
2 changed files with 8 additions and 2 deletions

View file

@ -4376,7 +4376,7 @@ function displayJsonAsHtml(jsonObjectOrString, level = 0) {
'</h4>' +
'</div>' +
'<div id="' + collapseId + '" class="panel-collapse collapse">' +
'<div class="panel-body">' + displayJsonAsHtml(value, level+1) + '</div>' +
'<div class="panel-body">' + displayJsonAsHtml(value, level + 1) + '</div>' +
'</div>' +
'</div>';
rowHtml += panelHtml;
@ -4544,3 +4544,7 @@ function getVideosId() {
}
return 0;
}
function isIOS() {
return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
}