app/assets/javascripts/social_stream.video.js.erb in social_stream-documents-0.12.1 vs app/assets/javascripts/social_stream.video.js.erb in social_stream-documents-0.13.0
- old
+ new
@@ -6,14 +6,15 @@
$(this).jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
webmv: $(this).closest(".video").find(".video-webm").attr("href"), // Defines the webm url
flv: $(this).closest(".video").find(".video-flv").attr("href") // Defines the flv url
+ mp4: $(this).closest(".video").find(".video-mp4").attr("href") // Defines the mp4 url
});
},
solution:"flash, html",
preload: "none",
- supplied: "webmv, flv",
+ supplied: "webmv, flv, mp4",
swfPath: "<%= asset_path "" %>",
cssSelectorAncestor: "#" + $(this).closest(".video-full").attr("id")
})
});