Sha256: 570664b24bf3071a08459ea76523f2aa0e2a7411a238880842b7fdc9d3f8ce7b
Contents?: true
Size: 693 Bytes
Versions: 56
Compression:
Stored size: 693 Bytes
Contents
//= require social_stream.timeline SocialStream.Audio = (function(SS, $, undefined){ var initJplayer = function(){ $(".jp-audio .jp-jplayer").each(function() { $(this).jPlayer({ ready: function () { $(this).jPlayer("setMedia", { webma: $(this).closest(".audio").find(".audio-webma").attr("href"), // Defines the webm url }); }, preload: "none", supplied: "webma", swfPath: "<%= asset_path "" %>", cssSelectorAncestor: "#" + $(this).closest(".audio-full").attr("id") }) }); $(".audio-format-links").hide(); } SocialStream.Timeline.addInitCallback(initJplayer); })(SocialStream, jQuery);
Version data entries
56 entries across 56 versions & 2 rubygems