everybit 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -23,7 +23,7 @@ Or install it yourself with the usual gem install command:
23
23
 
24
24
  ## Usage
25
25
 
26
- Detailed documentation for communicating with the Everybit Streaming Media API is available [here](http://docs.everybit.co). The information in this readme is only a brief introduction. If you have a specific problem with this gem you can [open an issue](https://github.com/everybit/everybit-ruby/issues) or, for more specific help with using the API in general, you can visit our dedicated [support site](https://everybit.zendesk.com/home).
26
+ Detailed documentation for communicating with the Everybit Streaming Media API is available [here](http://dev.everybit.co/docs/). The information in this readme is only a brief introduction. If you have a specific problem with this gem you can [open an issue](https://github.com/everybit/everybit-ruby/issues) or, for more specific help with using the API in general, you can visit our dedicated [support site](https://everybit.zendesk.com/home).
27
27
 
28
28
  ### Preparation
29
29
 
@@ -41,7 +41,7 @@ You can also view and change the base URL to which the gem will submit your medi
41
41
  Everybit.api_base
42
42
  # => 'https://api.everybit.co'
43
43
 
44
- Everybit.api_base = 'http://api.example.com'
44
+ Everybit.api_base = 'https://api.example.com'
45
45
  # => 'https://api.example.com'
46
46
  ```
47
47
 
@@ -83,10 +83,10 @@ video.status # this is the status of the request, not the video itself
83
83
  # => true
84
84
 
85
85
  video[:uuid] # => 'UUID_OF_VIDEO'
86
- video[:processing] # => true
87
- video[:progress] # => 50
88
- video[:completed] # => false
89
- video[:completed_date] # => ''
86
+ video[:processing] # => true|false
87
+ video[:progress] # => 0-100
88
+ video[:completed] # => true|false
89
+ video[:completed_date] # => date|nil
90
90
  ```
91
91
 
92
92
  #### Details
@@ -122,7 +122,7 @@ video[:original_file] # => path to original file uploaded during create requ
122
122
  video[:player_url] # => url to the video's player
123
123
  video[:media_info] # => {HASH OF DETAILED MEDIA INFO}
124
124
  video[:player_attributes] # => {HASH OF CUSTOMIZABLE PLAYER ATTRIBUTES}
125
- video[:versions] # => [ARRAY OF HASHES FOR EACH VERSION CREATED DURING ENCODING]
125
+ video[:versions] # => {HASH OF EACH VERSION CREATED DURING ENCODING}
126
126
  ```
127
127
 
128
128
  #### Create
@@ -190,47 +190,20 @@ video_updates = {
190
190
  tags: ['updated', 'tags'],
191
191
  visibility: 'public|protected|private',
192
192
  player_attributes: {
193
- template_name: "default",
194
- width: 640,
195
- height: 360,
196
- hold_frame: "http://example.com/custom_hold_frame",
197
- show_hold_frame: true,
198
- sharing_enabled: true,
199
- show_email_share: true,
200
- show_embed_share: true,
201
- show_social_share: true,
202
- auto_play: false,
203
- scaling: "fit",
204
- fade_in_speed: 0,
205
- fade_out_speed: 0,
206
- start_time: 0.000,
207
- duration: 0.000,
208
- show_controls: true,
193
+ volume_slider_color: '#ffffff',
194
+ time_color: '#ffffff',
195
+ buffer_background_color: '#f9f9f9',
196
+ progress_background_color: '#bb0000',
197
+ show_play_button: true,
209
198
  auto_hide_controls: true,
210
- auto_hide_controls_fullscreen_only: false,
211
- auto_hide_controls_delay: 10000,
212
- hardware_accelerated: false,
213
- background_color: "#000000",
214
- background_gradient: "low",
215
- time_color: "#01DAFF",
216
- duration_color: "#FFFFFF",
217
- progress_color: "#015B7A",
218
- progress_gradient: "medium",
219
- buffer_color: "#6C9CBC",
220
- buffer_gradient: "none",
221
- slider_color: "#000000",
222
- slider_gradient: "none",
223
- button_color: "#889AA4",
224
- button_over_color: "#92B2BD",
225
- volume_slider_color: "#000000",
226
- volume_color: "#000000",
227
- volume_slider_gradient: "none",
228
- time_background_color: "#555555",
229
- time_border_color: "#FFFFFF"
199
+ auto_play: false,
200
+ show_embed_code: true,
201
+ template_name: 'default',
202
+ streaming_type: 'progressive|streaming'
230
203
  }
231
204
  }
232
205
 
233
- video = Everybit::Video.update(video_updated)
206
+ video = Everybit::Video.update(video_updates)
234
207
  ```
235
208
 
236
209
  The response from an update request is the same as a details response, except it will contain your updated details.
data/everybit.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
 
9
9
  #-- author info
10
10
  gem.authors = ['Dominic Giglio']
11
- gem.email = ['humanshell@gmail.com']
11
+ gem.email = ['dom@everybit.co']
12
12
  gem.homepage = 'http://dev.everybit.co'
13
13
 
14
14
  #-- gem info
@@ -1,3 +1,3 @@
1
1
  module Everybit
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: everybit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-10 00:00:00.000000000 Z
12
+ date: 2013-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -78,7 +78,7 @@ dependencies:
78
78
  description: This gem defines methods for controlling your media through Everybit's
79
79
  API.
80
80
  email:
81
- - humanshell@gmail.com
81
+ - dom@everybit.co
82
82
  executables:
83
83
  - everybit-console
84
84
  extensions: []