Implement track/stream

* Add Streamer class
* Use FactoryGirl for factories
* Add sha256 field to tracks
* Add mime_type field to tracks
This commit is contained in:
Thibault Jouan
2011-07-23 16:30:51 +00:00
parent 47fa969617
commit 2f6a447416
18 changed files with 166 additions and 51 deletions

View File

@@ -1,3 +1,3 @@
%h1= @track.name
%audio{:src => stream_track_path(@track)}
%audio{:src => stream_track_path(@track), :controls => true, :autoplay => true}
Your browser does not support the audio element