README.md in cloudfront-private-0.0.1 vs README.md in cloudfront-private-0.0.2

- old
+ new

@@ -14,14 +14,10 @@ Or install it yourself as: $ gem install cloudfront-private -Finally, boostrap the cloudfront-private - - $ rails generate cloudfront:install - ## Getting started Generate initializer cloudfront-private $ rails generate cloudfront:install @@ -40,11 +36,11 @@ The private pem file should placed in 'certs' directory under Rails root Access private content in your view <% filename = "bucket-name/filename.mp4/flv %> - <% file = Cloudfront.get_url(request,filename) %> + <% file = Cloudfront::Private::Streaming::Base.get_url(request,filename) %> <div id='media-file'></div> Write javascript file to stream your private in jwplayer with jquery function private_streaming(){ @@ -64,10 +60,11 @@ swfobject.embedSWF('/jwplayer/player.swf','media_player','300','24','9.0.115','false', flashvars, params, attributes,flashLoaded); } $(document).ready(private_streaming); - + +Restart your server to get cloudfront configuration ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)