lib/onebox/engine/audio_onebox.rb in onebox-1.5.44 vs lib/onebox/engine/audio_onebox.rb in onebox-1.5.45

- old
+ new

@@ -1,10 +1,10 @@ module Onebox module Engine class AudioOnebox include Engine - matches_regexp /^(https?:)?\/\/.*\.(mp3|ogg|wav)(\?.*)?$/ + matches_regexp /^(https?:)?\/\/.*\.(mp3|ogg|wav|m4a)(\?.*)?$/ def always_https? WhitelistedGenericOnebox.host_matches(uri, WhitelistedGenericOnebox.https_hosts) end