Skip to content

Commit 81846b1

Browse files
author
Bastian Bartmann
committed
uses jquery to load the player
1 parent c2fd05a commit 81846b1

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
@@ -111,7 +111,7 @@ def podlove(type, options = {})
111111

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

114-
script = "$('##{id}').podlovewebplayer(#{options.to_json});"
114+
script = "jQuery('##{id}').podlovewebplayer(#{options.to_json});"
115115

116116
return raw html + "\n" + javascript_tag(script)
117117
end

0 commit comments

Comments
 (0)