mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
493438cce5
Uses location to determine what the scheme should be if unspecified. This is important because it allows us to use URIs that work for either HTTP or HTTPS hosted apps without mixed content warnings. Some special sauce was needed to make it testable, since we generally can't mock location in tests. Change-Id: I294ac532f1bba80977597e11addd7f585d1e9b79