Skip to content

Commit bd9b531

Browse files
Add m4a for ipad ios26
Add m4a for ipad ios26
1 parent 857d594 commit bd9b531

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/inc/lib/display.lib.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2221,6 +2221,8 @@ public static function getMediaPlayer($file, $params = [])
22212221

22222222
return $html;
22232223
break;
2224+
case 'm4a': // for ipad ios26
2225+
$html = '<audio id="'.$id.'" '.$class.' controls '.$autoplay.' '.$width.' src="'.$params['url'].'">';
22242226
case 'wav':
22252227
case 'ogg':
22262228
$html = '<audio width="300px" controls id="'.$id.'" '.$autoplay.' src="'.$params['url'].'"></audio>';

0 commit comments

Comments
 (0)