Skip to content

Commit a28a8fb

Browse files
committed
Made Audio and Video versions of PR jplayer#142 by @rickvanderzwet
1 parent c393080 commit a28a8fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jquery.jplayer/jquery.jplayer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,11 @@
688688
flashCanPlay: true,
689689
media: 'audio'
690690
},
691+
m3u8a: { // AAC / MP4 / Apple HLS
692+
codec: 'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',
693+
flashCanPlay: false,
694+
media: 'audio'
695+
},
691696
oga: { // OGG
692697
codec: 'audio/ogg; codecs="vorbis"',
693698
flashCanPlay: false,
@@ -718,7 +723,7 @@
718723
flashCanPlay: true,
719724
media: 'video'
720725
},
721-
m3u8: { // H.264 / MP4 / Apple HLS
726+
m3u8v: { // H.264 / AAC / MP4 / Apple HLS
722727
codec: 'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',
723728
flashCanPlay: false,
724729
media: 'video'

0 commit comments

Comments
 (0)