Skip to content

Commit 4d18ebd

Browse files
author
Bastian Bartmann
committed
bugfix
1 parent 290686a commit 4d18ebd

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
@@ -100,7 +100,7 @@ def podlovevideo(options = {})
100100

101101
def podlove(type, options = {})
102102
id = "player_" + SecureRandom.hex(5)
103-
preload ||= "auto"
103+
preload = options[:preload] || "auto"
104104

105105
html = "<#{type} id='#{id}' preload=#{preload}>"
106106
html << "<source src='#{options[:src]}'"\

0 commit comments

Comments
 (0)