lib/videos/uri.rb in rb42-videos-1.0.3 vs lib/videos/uri.rb in rb42-videos-1.0.4
- old
+ new
@@ -3,9 +3,10 @@
require 'httparty'
class Videos::URI
PROVIDERS_BY_HOST = {
'www.youtube.com' => 'youtube',
+ 'youtube.com' => 'youtube',
'youtu.be' => 'youtube',
'vimeo.com' => 'vimeo'
}
def initialize(uri)