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 81846b1 commit b59bd03Copy full SHA for b59bd03
lib/podlove-web-player-rails/view_helpers.rb
@@ -99,7 +99,7 @@ def podlovevideo(options = {})
99
def podlove(type, options = {})
100
id = "player_" + SecureRandom.hex(5)
101
102
- html = "<#{type} id='#{id}'>"
+ html = "<#{type} id='#{id}' preload=\"none\">"
103
html << "<source src='#{options[:src]}'"\
104
"" + (options[:type] ? " type='#{options[:type]}'" : "") + "></source>" if options[:src]
105
html << "<source src='#{options[:mp4]}' type='#{type}/mp4'></source>" if options[:mp4]
0 commit comments