jquery - Amazon Cloudhosting and JPlayer -
i'm confused amazon's cloud hosting slash getting jplayer work. i've tested player (no deviation in html demos) on video files hosted on dropbox , worked fine, except bandwidth slow needs. i've tried replacing dropbox urls amazon urls no success.
here js code
$(document).ready(function(){ $("#jquery_jplayer_1").jplayer({ ready: function () { $(this).jplayer("setmedia", { m4v: "http://media.callserver.dyndns.biz.s3.amazonaws.com/edited+original+intro.mp4", ogv: "http://media.callserver.dyndns.biz.s3.amazonaws.com/edited+original+intro.ogv" }).jplayer("play"); },ended: function (event) { $("#next").show(); window.location.href = "http://callserver.dyndns.biz:90/index.php?action=testvid"; },swfpath: "/jquery.jplayer.2.0.0", supplied: "m4v, ogv" }); });
i've setup bucket called media.callserver.dyndns.biz (my dynamic hostname dyndns) following 1 of tutorials. did after 'wunvideos' did not appear work bucket name. created streaming distribution, though i've questioned if should not. @ same time, urls seem work downloading file browser no combination of urls can think cloudfront distribution. i'm utterly confused do.
apologies if you've seen link working guide there's couple of differences description:
- stick download option, not streaming, faster , possibly more reliable
- test cloudfront url in browser make sure url working
- once that's tested , working, embed in player of choice - guide uses jwplayer
maybe 1 of help, or @ least narrow problem
Comments
Post a Comment