| Class | Viddler::Video |
| In: |
lib/viddler/video.rb
|
| Parent: | Object |
This class wraps Viddler‘s video‘s information.
| author | [RW] | |
| comment_count | [RW] | |
| comment_list | [RW] | |
| description | [RW] | |
| id | [RW] | |
| length_seconds | [RW] | |
| permissions | [RW] | |
| tags | [RW] | |
| thumbnail_url | [RW] | |
| title | [RW] | |
| update_time | [RW] | |
| upload_time | [RW] | |
| url | [RW] | |
| view_count | [RW] |
Returns proper HTML code for embedding
options hash could contain:
Any additional options passed to the method will be added as flashvars
Example:
@video.embed_code(:player_type => 'simple', :width => 300, :height => 300, autoplay => 't')
Returns embed code for auto playing simple player with 300px width and height