Skip to content

Commit ef4b010

Browse files
author
Bastian Bartmann
committed
fixed webm source
1 parent 68f4af6 commit ef4b010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/podlove-web-player-rails/view_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def podlove(type, options = {})
2121
html << "<source src='#{options[:mp3]}' type='#{type}/mpeg'></source>" if options[:mp3]
2222
html << "<source src='#{options[:ogg]}' type='#{type}/ogg; codecs=vorbis'></source>" if options[:ogg]
2323
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]
24+
html << "<source src='#{options[:webm]}' type='#{type}/webm'></source>" if options[:webm]
2525
html << "</#{type}>"
2626

2727
[:src, :type, :mp4, :mp3, :ogg, :opus, :webm].each{ |key| options.delete(key) }

0 commit comments

Comments
 (0)