| Index: android_webview/lib/main/aw_main_delegate.cc
|
| diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
|
| index cdc9ba59c08e6410ea67cd59bfd3264a5cc67ada..0c14794ba3d269ab0a74ee75756682cedd0a0c4a 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -140,6 +140,13 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
|
| cl->AppendSwitch(switches::kDisableRendererBackgrounding);
|
| }
|
|
|
| + // Android WebView needs to support codecs that Chrome does not, for these
|
| + // cases we must force the usage of Android MediaPlayer instead of Chrome's
|
| + // internal player. Format list mirrors:
|
| + // http://developer.android.com/guide/appendix/media-formats.html
|
| + cl->AppendSwitchASCII(switches::kUseMediaPlayerForExtensions,
|
| + ".3gp,.ts,.flac,.mid,.xmf,.mxmf,.rtttl,.rtx,.ota,.imy");
|
| +
|
| return false;
|
| }
|
|
|
|
|