Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-28061 mediaplugins filter: add aac audio node to filetypes.mm, fi…

…xed string mistype within the admin setting page (acc -> aac) and add mediaplugin_html5audio css class to align the player/link like the rest.
  • Loading branch information...
commit 0c8d3939bca90e48fc8c228f71b8282aaaa61f3c 1 parent 7fde489
rwijaya rwijaya authored
6 filter/mediaplugin/lang/en/filter_mediaplugin.php
@@ -30,11 +30,11 @@
30 30 $string['flashvideo'] = 'Flash video';
31 31 $string['flashvideo_help'] = 'Files with extension *.flv and *.f4v. Plays video clips using Flowplayer, requires Flash plugin and javascript. Uses HTML 5 video fallback if multiple sources psecified.';
32 32 $string['html5audio'] = 'HTML 5 audio';
33   -$string['html5audio_help'] = 'Audio files with extension *.ogg, *.acc and others. It is compatible with latest web browsers only, unfortunately there is no format that is supported by all browsers.
34   -Workaround is to specify fallbacks separated with # (ex: http://example.org/audio.acc#http://example.org/audio.acc#http://example.org/audio.mp3#), QuickTime player is used as a fallback for old browsers, fallback can be any audio type.';
  33 +$string['html5audio_help'] = 'Audio files with extension *.ogg, *.aac and others. It is compatible with latest web browsers only, unfortunately there is no format that is supported by all browsers.
  34 +Workaround is to specify fallbacks separated with # (ex: http://example.org/audio.aac#http://example.org/audio.aac#http://example.org/audio.mp3#), QuickTime player is used as a fallback for old browsers, fallback can be any audio type.';
35 35 $string['html5video'] = 'HTML 5 video';
36 36 $string['html5video_help'] = 'Video files with extension *.webm, *.m4v, *.ogv, *.mp4 and others. It is compatible with latest web browsers only, unfortunately there is no format that is supported by all browsers.
37   -Workaround is to specify fallbacks sources separated with # (ex: http://example.org/video.m4v#http://example.org/video.acc#http://example.org/video.ogv#d=640x480), QuickTime player is used as a fallback for old browsers.';
  37 +Workaround is to specify fallbacks sources separated with # (ex: http://example.org/video.m4v#http://example.org/video.aac#http://example.org/video.ogv#d=640x480), QuickTime player is used as a fallback for old browsers.';
38 38 $string['mp3audio'] = 'MP3 audio';
39 39 $string['mp3audio_help'] = 'Files with extension *.mp3. Plays audio using Flowplayer, requires Flash plugin.';
40 40 $string['legacyquicktime'] = 'QuickTime player';
2  filter/mediaplugin/styles.css
... ... @@ -1,7 +1,7 @@
1 1 /**
2 2 * Filters
3 3 */
4   -.mediaplugin_html5video, .mediaplugin_swf, .mediaplugin_flv, .mediaplugin_real, .mediaplugin_youtube, .mediaplugin_vimeo, .mediaplugin_wmp, .mediaplugin_qt
  4 +.mediaplugin_html5audio, .mediaplugin_html5video, .mediaplugin_swf, .mediaplugin_flv, .mediaplugin_real, .mediaplugin_youtube, .mediaplugin_vimeo, .mediaplugin_wmp, .mediaplugin_qt
5 5 {display:block;margin-top:5px;margin-bottom:5px;text-align: center;}
6 6 .mediaplugin.mediaplugin_mp3 object {display:inline;height:15px;width:180px;margin-left:0.5em;}
7 7
1  lib/filestorage/file_types.mm
@@ -19,6 +19,7 @@
19 19 <node ID="_Freemind_Link_313976796" TEXT=".ra"/>
20 20 <node ID="_Freemind_Link_709595453" TEXT=".wma"/>
21 21 <node TEXT=".ogg"/>
  22 +<node ID="ID_421461117" TEXT=".aac"/>
22 23 </node>
23 24 <node ID="_Freemind_Link_1800832653" TEXT="non_web_audio">
24 25 <node ID="_Freemind_Link_1772266185" TEXT=".ape"/>

0 comments on commit 0c8d393

Please sign in to comment.
Something went wrong with that request. Please try again.