Skip to content

Commit

Permalink
Merge pull request sakaiproject#252 from clhedrick/LSNBLDR-478
Browse files Browse the repository at this point in the history
LSNBLDR-478; MP3 embedded in Chrome doesn't work
  • Loading branch information
clhedrick committed Mar 4, 2015
2 parents 30f246b + 5b5a711 commit 71f4cc3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ public void setImageToMimeMap(Map<String,String> map) {
// mp4 means it plays with the flash player if HTML5 doesn't work.
// flv is also played with the flash player, but it doesn't get a backup <OBJECT> inside the player
// Strobe claims to handle MOV files as well, but I feel safer passing them to quicktime, though that requires Quicktime installation
private static final String DEFAULT_MP4_TYPES = "video/mp4,video/m4v,audio/mpeg";
private static final String DEFAULT_MP4_TYPES = "video/mp4,video/m4v,audio/mpeg,audio/mp3";
private static String[] mp4Types = null;
private static final String DEFAULT_HTML5_TYPES = "video/mp4,video/m4v,video/webm,video/ogg,audio/mpeg,audio/ogg,audio/wav,audio/x-wav,audio/webm,audio/ogg,audio/mp4,audio/aac";
private static final String DEFAULT_HTML5_TYPES = "video/mp4,video/m4v,video/webm,video/ogg,audio/mpeg,audio/ogg,audio/wav,audio/x-wav,audio/webm,audio/ogg,audio/mp4,audio/aac,audio/mp3";
// jw can also handle audio: audio/mp4,audio/mpeg,audio/ogg
private static String[] html5Types = null;
// almost ISO. Full ISO isn't available until Java 7. this uses -0400 where ISO uses -04:00
Expand Down

0 comments on commit 71f4cc3

Please sign in to comment.