Skip to content

Commit b59bd03

Browse files
author
Bastian Bartmann
committed
testing
1 parent 81846b1 commit b59bd03

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
@@ -99,7 +99,7 @@ def podlovevideo(options = {})
9999
def podlove(type, options = {})
100100
id = "player_" + SecureRandom.hex(5)
101101

102-
html = "<#{type} id='#{id}'>"
102+
html = "<#{type} id='#{id}' preload=\"none\">"
103103
html << "<source src='#{options[:src]}'"\
104104
"" + (options[:type] ? " type='#{options[:type]}'" : "") + "></source>" if options[:src]
105105
html << "<source src='#{options[:mp4]}' type='#{type}/mp4'></source>" if options[:mp4]

0 commit comments

Comments
 (0)