We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f4af6 commit ef4b010Copy full SHA for ef4b010
lib/podlove-web-player-rails/view_helpers.rb
@@ -21,7 +21,7 @@ def podlove(type, options = {})
21
html << "<source src='#{options[:mp3]}' type='#{type}/mpeg'></source>" if options[:mp3]
22
html << "<source src='#{options[:ogg]}' type='#{type}/ogg; codecs=vorbis'></source>" if options[:ogg]
23
html << "<source src='#{options[:opus]}' type='#{type}/ogg; codecs=opus'></source>" if options[:opus]
24
- html << "<source src='#{options[:opus]}' type='#{type}/webm'></source>" if options[:webm]
+ html << "<source src='#{options[:webm]}' type='#{type}/webm'></source>" if options[:webm]
25
html << "</#{type}>"
26
27
[:src, :type, :mp4, :mp3, :ogg, :opus, :webm].each{ |key| options.delete(key) }
0 commit comments