Today we decide in createWebMediaPlayer() whether to return a WebMediaPlayerAndroid or WebMediaPlayerImpl based on various conditions. One of which is whether the url is a HLS video, because only WMPA supports HLS. We detect whether a url is HLS by checking whether "m3u8" appears in the URL (copied from Android's MediaPlayer). However this doesn't work if the src is a redirect because we haven't yet made any network requests when making this choice.
espn is actually doing these redirects today, which means their videos are broken with Spitzer. We need a way to switch WebMediaPlayer implementations dynamically.
Comment 1 by dalecur...@chromium.org
, Jun 8 2016