velir_kaltura-ruby 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.document +5 -0
  2. data/.gitignore +7 -0
  3. data/LICENSE +661 -0
  4. data/README.rdoc +45 -0
  5. data/Rakefile +60 -0
  6. data/VERSION +1 -0
  7. data/VERSION.yml +5 -0
  8. data/lib/kaltura/constants/access_control_order_by.rb +8 -0
  9. data/lib/kaltura/constants/audio_codec.rb +11 -0
  10. data/lib/kaltura/constants/base.rb +34 -0
  11. data/lib/kaltura/constants/batch_job.rb +62 -0
  12. data/lib/kaltura/constants/bit_rate_mode.rb +8 -0
  13. data/lib/kaltura/constants/category_order_by.rb +12 -0
  14. data/lib/kaltura/constants/commercial_use_type.rb +8 -0
  15. data/lib/kaltura/constants/container_format.rb +15 -0
  16. data/lib/kaltura/constants/control_panel_command.rb +34 -0
  17. data/lib/kaltura/constants/conversion_profile_order_by.rb +8 -0
  18. data/lib/kaltura/constants/country_restriction_type.rb +8 -0
  19. data/lib/kaltura/constants/data_entry_order_by.rb +14 -0
  20. data/lib/kaltura/constants/directory_restriction_type.rb +8 -0
  21. data/lib/kaltura/constants/document.rb +21 -0
  22. data/lib/kaltura/constants/duration_type.rb +10 -0
  23. data/lib/kaltura/constants/editor_type.rb +8 -0
  24. data/lib/kaltura/constants/email_ingestion_profile_status.rb +8 -0
  25. data/lib/kaltura/constants/entry.rb +35 -0
  26. data/lib/kaltura/constants/file_sync.rb +39 -0
  27. data/lib/kaltura/constants/flavor_asset_status.rb +12 -0
  28. data/lib/kaltura/constants/gender.rb +9 -0
  29. data/lib/kaltura/constants/google_syndication_feed.rb +21 -0
  30. data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +75 -0
  31. data/lib/kaltura/constants/i_tunes_syndication_feed.rb +24 -0
  32. data/lib/kaltura/constants/license_type.rb +23 -0
  33. data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +24 -0
  34. data/lib/kaltura/constants/mail_job_order_by.rb +10 -0
  35. data/lib/kaltura/constants/media.rb +36 -0
  36. data/lib/kaltura/constants/mix_entry_order_by.rb +22 -0
  37. data/lib/kaltura/constants/moderation.rb +22 -0
  38. data/lib/kaltura/constants/notification.rb +24 -0
  39. data/lib/kaltura/constants/nullable_boolean.rb +9 -0
  40. data/lib/kaltura/constants/partner.rb +39 -0
  41. data/lib/kaltura/constants/playable_entry_order_by.rb +22 -0
  42. data/lib/kaltura/constants/playlist.rb +22 -0
  43. data/lib/kaltura/constants/report_type.rb +14 -0
  44. data/lib/kaltura/constants/search_provider_type.rb +22 -0
  45. data/lib/kaltura/constants/session_type.rb +8 -0
  46. data/lib/kaltura/constants/site_restriction_type.rb +8 -0
  47. data/lib/kaltura/constants/source_type.rb +11 -0
  48. data/lib/kaltura/constants/stats/kmc_event_type.rb +71 -0
  49. data/lib/kaltura/constants/stats.rb +36 -0
  50. data/lib/kaltura/constants/syndication_feed.rb +17 -0
  51. data/lib/kaltura/constants/system_user.rb +17 -0
  52. data/lib/kaltura/constants/tube_mogul_syndication_feed.rb +34 -0
  53. data/lib/kaltura/constants/ui_conf.rb +26 -0
  54. data/lib/kaltura/constants/upload_error_code.rb +9 -0
  55. data/lib/kaltura/constants/user.rb +16 -0
  56. data/lib/kaltura/constants/video_codec.rb +16 -0
  57. data/lib/kaltura/constants/widget.rb +15 -0
  58. data/lib/kaltura/constants/yahoo_syndication_feed.rb +44 -0
  59. data/lib/kaltura/constants.rb +64 -0
  60. data/lib/kaltura/kaltura_client.rb +4750 -0
  61. data/lib/kaltura/kaltura_client_base.rb +286 -0
  62. data/lib/kaltura.rb +16 -0
  63. data/test/kaltura-ruby_test.rb +7 -0
  64. data/test/test.rb +23 -0
  65. data/test/test_2.rb +26 -0
  66. data/test/test_error.rb +14 -0
  67. data/test/test_helper.rb +10 -0
  68. data/velir_kaltura-ruby.gemspec +123 -0
  69. metadata +196 -0
@@ -0,0 +1,24 @@
1
+ module Kaltura
2
+ module Constants
3
+ class LiveStreamEntryOrderBy
4
+ MEDIA_TYPE_ASC = "+mediaType"
5
+ MEDIA_TYPE_DESC = "-mediaType"
6
+ PLAYS_ASC = "+plays"
7
+ PLAYS_DESC = "-plays"
8
+ VIEWS_ASC = "+views"
9
+ VIEWS_DESC = "-views"
10
+ DURATION_ASC = "+duration"
11
+ DURATION_DESC = "-duration"
12
+ MS_DURATION_ASC = "+msDuration"
13
+ MS_DURATION_DESC = "-msDuration"
14
+ NAME_ASC = "+name"
15
+ NAME_DESC = "-name"
16
+ MODERATION_COUNT_ASC = "+moderationCount"
17
+ MODERATION_COUNT_DESC = "-moderationCount"
18
+ CREATED_AT_ASC = "+createdAt"
19
+ CREATED_AT_DESC = "-createdAt"
20
+ RANK_ASC = "+rank"
21
+ RANK_DESC = "-rank"
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,10 @@
1
+ module Kaltura
2
+ module Constants
3
+ class MailJobOrderBy
4
+ CREATED_AT_ASC = "+createdAt"
5
+ CREATED_AT_DESC = "-createdAt"
6
+ EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
7
+ EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,36 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Media
4
+ class OrderBy
5
+ MEDIA_TYPE_ASC = "+mediaType"
6
+ MEDIA_TYPE_DESC = "-mediaType"
7
+ PLAYS_ASC = "+plays"
8
+ PLAYS_DESC = "-plays"
9
+ VIEWS_ASC = "+views"
10
+ VIEWS_DESC = "-views"
11
+ DURATION_ASC = "+duration"
12
+ DURATION_DESC = "-duration"
13
+ MS_DURATION_ASC = "+msDuration"
14
+ MS_DURATION_DESC = "-msDuration"
15
+ NAME_ASC = "+name"
16
+ NAME_DESC = "-name"
17
+ MODERATION_COUNT_ASC = "+moderationCount"
18
+ MODERATION_COUNT_DESC = "-moderationCount"
19
+ CREATED_AT_ASC = "+createdAt"
20
+ CREATED_AT_DESC = "-createdAt"
21
+ RANK_ASC = "+rank"
22
+ RANK_DESC = "-rank"
23
+ end
24
+
25
+ class Type
26
+ VIDEO = 1
27
+ IMAGE = 2
28
+ AUDIO = 5
29
+ LIVE_STREAM_FLASH = 201
30
+ LIVE_STREAM_WINDOWS_MEDIA = 202
31
+ LIVE_STREAM_REAL_MEDIA = 203
32
+ LIVE_STREAM_QUICKTIME = 204
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,22 @@
1
+ module Kaltura
2
+ module Constants
3
+ class MixEntryOrderBy
4
+ PLAYS_ASC = "+plays"
5
+ PLAYS_DESC = "-plays"
6
+ VIEWS_ASC = "+views"
7
+ VIEWS_DESC = "-views"
8
+ DURATION_ASC = "+duration"
9
+ DURATION_DESC = "-duration"
10
+ MS_DURATION_ASC = "+msDuration"
11
+ MS_DURATION_DESC = "-msDuration"
12
+ NAME_ASC = "+name"
13
+ NAME_DESC = "-name"
14
+ MODERATION_COUNT_ASC = "+moderationCount"
15
+ MODERATION_COUNT_DESC = "-moderationCount"
16
+ CREATED_AT_ASC = "+createdAt"
17
+ CREATED_AT_DESC = "-createdAt"
18
+ RANK_ASC = "+rank"
19
+ RANK_DESC = "-rank"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Moderation
4
+ class FlagStatus
5
+ PENDING = 1
6
+ MODERATED = 2
7
+ end
8
+
9
+ class FlagType
10
+ SEXUAL_CONTENT = 1
11
+ VIOLENT_REPULSIVE = 2
12
+ HARMFUL_DANGEROUS = 3
13
+ SPAM_COMMERCIALS = 4
14
+ end
15
+
16
+ class ObjectType
17
+ ENTRY = 2
18
+ USER = 3
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,24 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Notification
4
+ class OrderBy
5
+ CREATED_AT_ASC = "+createdAt"
6
+ CREATED_AT_DESC = "-createdAt"
7
+ EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
8
+ EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
9
+ end
10
+
11
+ class Type
12
+ ENTRY_ADD = 1
13
+ ENTR_UPDATE_PERMISSIONS = 2
14
+ ENTRY_DELETE = 3
15
+ ENTRY_BLOCK = 4
16
+ ENTRY_UPDATE = 5
17
+ ENTRY_UPDATE_THUMBNAIL = 6
18
+ ENTRY_UPDATE_MODERATION = 7
19
+ USER_ADD = 21
20
+ USER_BANNED = 26
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,9 @@
1
+ module Kaltura
2
+ module Constants
3
+ class NullableBoolean
4
+ NULL_VALUE = -1
5
+ FALSE_VALUE = 0
6
+ TRUE_VALUE = 1
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,39 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Partner
4
+ class OrderBy
5
+ ID_ASC = "+id"
6
+ ID_DESC = "-id"
7
+ NAME_ASC = "+name"
8
+ NAME_DESC = "-name"
9
+ WEBSITE_ASC = "+website"
10
+ WEBSITE_DESC = "-website"
11
+ CREATED_AT_ASC = "+createdAt"
12
+ CREATED_AT_DESC = "-createdAt"
13
+ ADMIN_NAME_ASC = "+adminName"
14
+ ADMIN_NAME_DESC = "-adminName"
15
+ ADMIN_EMAIL_ASC = "+adminEmail"
16
+ ADMIN_EMAIL_DESC = "-adminEmail"
17
+ STATUS_ASC = "+status"
18
+ STATUS_DESC = "-status"
19
+ end
20
+
21
+ class Status
22
+ ACTIVE = 1
23
+ BLOCKED = 2
24
+ FULL_BLOCK = 3
25
+ end
26
+
27
+ class Type
28
+ KMC = 1
29
+ WIKI = 100
30
+ WORDPRESS = 101
31
+ DRUPAL = 102
32
+ DEKIWIKI = 103
33
+ MOODLE = 104
34
+ COMMUNITY_EDITION = 105
35
+ JOOMLA = 106
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,22 @@
1
+ module Kaltura
2
+ module Constants
3
+ class PlayableEntryOrderBy
4
+ PLAYS_ASC = "+plays"
5
+ PLAYS_DESC = "-plays"
6
+ VIEWS_ASC = "+views"
7
+ VIEWS_DESC = "-views"
8
+ DURATION_ASC = "+duration"
9
+ DURATION_DESC = "-duration"
10
+ MS_DURATION_ASC = "+msDuration"
11
+ MS_DURATION_DESC = "-msDuration"
12
+ NAME_ASC = "+name"
13
+ NAME_DESC = "-name"
14
+ MODERATION_COUNT_ASC = "+moderationCount"
15
+ MODERATION_COUNT_DESC = "-moderationCount"
16
+ CREATED_AT_ASC = "+createdAt"
17
+ CREATED_AT_DESC = "-createdAt"
18
+ RANK_ASC = "+rank"
19
+ RANK_DESC = "-rank"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Playlist
4
+ class OrderBy
5
+ NAME_ASC = "+name"
6
+ NAME_DESC = "-name"
7
+ MODERATION_COUNT_ASC = "+moderationCount"
8
+ MODERATION_COUNT_DESC = "-moderationCount"
9
+ CREATED_AT_ASC = "+createdAt"
10
+ CREATED_AT_DESC = "-createdAt"
11
+ RANK_ASC = "+rank"
12
+ RANK_DESC = "-rank"
13
+ end
14
+
15
+ class Type
16
+ DYNAMIC = 10
17
+ STATIC_LIST = 3
18
+ EXTERNAL = 101
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,14 @@
1
+ module Kaltura
2
+ module Constants
3
+ class ReportType
4
+ TOP_CONTENT = 1
5
+ CONTENT_DROPOFF = 2
6
+ CONTENT_INTERACTIONS = 3
7
+ MAP_OVERLAY = 4
8
+ TOP_CONTRIBUTORS = 5
9
+ TOP_SYNDICATION = 6
10
+ CONTENT_CONTRIBUTIONS = 7
11
+ ADMIN_CONSOLE = 10
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,22 @@
1
+ module Kaltura
2
+ module Constants
3
+ class SearchProviderType
4
+ FLICKR = 3
5
+ YOUTUBE = 4
6
+ MYSPACE = 7
7
+ PHOTOBUCKET = 8
8
+ JAMENDO = 9
9
+ CCMIXTER = 10
10
+ NYPL = 11
11
+ CURRENT = 12
12
+ MEDIA_COMMONS = 13
13
+ KALTURA = 20
14
+ KALTURA_USER_CLIPS = 21
15
+ ARCHIVE_ORG = 22
16
+ KALTURA_PARTNER = 23
17
+ METACAFE = 24
18
+ SEARCH_PROXY = 28
19
+ PARTNER_SPECIFIC = 100
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class SessionType
4
+ USER = 0
5
+ ADMIN = 2
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class SiteRestrictionType
4
+ RESTRICT_SITE_LIST = 0
5
+ ALLOW_SITE_LIST = 1
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ module Kaltura
2
+ module Constants
3
+ class SourceType
4
+ FILE = 1
5
+ WEBCAM = 2
6
+ URL = 5
7
+ SEARCH_PROVIDER = 6
8
+ AKAMAI_LIVE = 29
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,71 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Stats
4
+ class KmcEventType
5
+ CONTENT_PAGE_VIEW = 1001
6
+ CONTENT_ADD_PLAYLIST = 1010
7
+ CONTENT_EDIT_PLAYLIST = 1011
8
+ CONTENT_DELETE_PLAYLIST = 1012
9
+ CONTENT_DELETE_ITEM = 1058
10
+ CONTENT_EDIT_ENTRY = 1013
11
+ CONTENT_CHANGE_THUMBNAIL = 1014
12
+ CONTENT_ADD_TAGS = 1015
13
+ CONTENT_REMOVE_TAGS = 1016
14
+ CONTENT_ADD_ADMIN_TAGS = 1017
15
+ CONTENT_REMOVE_ADMIN_TAGS = 1018
16
+ CONTENT_DOWNLOAD = 1019
17
+ CONTENT_APPROVE_MODERATION = 1020
18
+ CONTENT_REJECT_MODERATION = 1021
19
+ CONTENT_BULK_UPLOAD = 1022
20
+ CONTENT_ADMIN_KCW_UPLOAD = 1023
21
+ CONTENT_CONTENT_GO_TO_PAGE = 1057
22
+ CONTENT_ENTRY_DRILLDOWN = 1088
23
+ CONTENT_OPEN_PREVIEW_AND_EMBED = 1089
24
+ ACCOUNT_CHANGE_PARTNER_INFO = 1030
25
+ ACCOUNT_CHANGE_LOGIN_INFO = 1031
26
+ ACCOUNT_CONTACT_US_USAGE = 1032
27
+ ACCOUNT_UPDATE_SERVER_SETTINGS = 1033
28
+ ACCOUNT_ACCOUNT_OVERVIEW = 1034
29
+ ACCOUNT_ACCESS_CONTROL = 1035
30
+ ACCOUNT_TRANSCODING_SETTINGS = 1036
31
+ ACCOUNT_ACCOUNT_UPGRADE = 1037
32
+ ACCOUNT_SAVE_SERVER_SETTINGS = 1038
33
+ ACCOUNT_ACCESS_CONTROL_DELETE = 1039
34
+ ACCOUNT_SAVE_TRANSCODING_SETTINGS = 1040
35
+ LOGIN = 1041
36
+ DASHBOARD_IMPORT_CONTENT = 1042
37
+ DASHBOARD_UPDATE_CONTENT = 1043
38
+ DASHBOARD_ACCOUNT_CONTACT_US = 1044
39
+ DASHBOARD_VIEW_REPORTS = 1045
40
+ DASHBOARD_EMBED_PLAYER = 1046
41
+ DASHBOARD_EMBED_PLAYLIST = 1047
42
+ DASHBOARD_CUSTOMIZE_PLAYERS = 1048
43
+ APP_STUDIO_NEW_PLAYER_SINGLE_VIDEO = 1050
44
+ APP_STUDIO_NEW_PLAYER_PLAYLIST = 1051
45
+ APP_STUDIO_NEW_PLAYER_MULTI_TAB_PLAYLIST = 1052
46
+ APP_STUDIO_EDIT_PLAYER_SINGLE_VIDEO = 1053
47
+ APP_STUDIO_EDIT_PLAYER_PLAYLIST = 1054
48
+ APP_STUDIO_EDIT_PLAYER_MULTI_TAB_PLAYLIST = 1055
49
+ APP_STUDIO_DUPLICATE_PLAYER = 1056
50
+ REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_TAB = 1070
51
+ REPORTS_AND_ANALYTICS_CONTENT_REPORTS_TAB = 1071
52
+ REPORTS_AND_ANALYTICS_USERS_AND_COMMUNITY_REPORTS_TAB = 1072
53
+ REPORTS_AND_ANALYTICS_TOP_CONTRIBUTORS = 1073
54
+ REPORTS_AND_ANALYTICS_MAP_OVERLAYS = 1074
55
+ REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS = 1075
56
+ REPORTS_AND_ANALYTICS_TOP_CONTENT = 1076
57
+ REPORTS_AND_ANALYTICS_CONTENT_DROPOFF = 1077
58
+ REPORTS_AND_ANALYTICS_CONTENT_INTERACTIONS = 1078
59
+ REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS = 1079
60
+ REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN = 1080
61
+ REPORTS_AND_ANALYTICS_CONTENT_DRILL_DOWN_INTERACTION = 1081
62
+ REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS_DRILLDOWN = 1082
63
+ REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN_DROPOFF = 1083
64
+ REPORTS_AND_ANALYTICS_MAP_OVERLAYS_DRILLDOWN = 1084
65
+ REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS_DRILL_DOWN = 1085
66
+ REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_MONTHLY = 1086
67
+ REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_YEARLY = 1087
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,36 @@
1
+ require 'kaltura/constants/stats/kmc_event_type'
2
+
3
+ module Kaltura
4
+ module Constants
5
+ module Stats
6
+ class EventType
7
+ WIDGET_LOADED = 1
8
+ MEDIA_LOADED = 2
9
+ PLAY = 3
10
+ PLAY_REACHED_25 = 4
11
+ PLAY_REACHED_50 = 5
12
+ PLAY_REACHED_75 = 6
13
+ PLAY_REACHED_100 = 7
14
+ OPEN_EDIT = 8
15
+ OPEN_VIRAL = 9
16
+ OPEN_DOWNLOAD = 10
17
+ OPEN_REPORT = 11
18
+ BUFFER_START = 12
19
+ BUFFER_END = 13
20
+ OPEN_FULL_SCREEN = 14
21
+ CLOSE_FULL_SCREEN = 15
22
+ REPLAY = 16
23
+ SEEK = 17
24
+ OPEN_UPLOAD = 18
25
+ SAVE_PUBLISH = 19
26
+ CLOSE_EDITOR = 20
27
+ PRE_BUMPER_PLAYED = 21
28
+ POST_BUMPER_PLAYED = 22
29
+ BUMPER_CLICKED = 23
30
+ FUTURE_USE_1 = 24
31
+ FUTURE_USE_2 = 25
32
+ FUTURE_USE_3 = 26
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,17 @@
1
+ module Kaltura
2
+ module Constants
3
+ module SyndicationFeed
4
+ class Status
5
+ DELETED = -1
6
+ ACTIVE = 1
7
+ end
8
+
9
+ class Type
10
+ GOOGLE_VIDEO = 1
11
+ YAHOO = 2
12
+ ITUNES = 3
13
+ TUBE_MOGUL = 4
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ module Kaltura
2
+ module Constants
3
+ module SystemUser
4
+ class OrderBy
5
+ ID_ASC = "+id"
6
+ ID_DESC = "-id"
7
+ STATUS_ASC = "+status"
8
+ STATUS_DESC = "-status"
9
+ end
10
+
11
+ class Status
12
+ BLOCKED = 0
13
+ ACTIVE = 1
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,34 @@
1
+ module Kaltura
2
+ module Constants
3
+ module TubeMogulSyndicationFeed
4
+ class Categories
5
+ ARTS_AND_ANIMATION = "Arts & Animation"
6
+ COMEDY = "Comedy"
7
+ ENTERTAINMENT = "Entertainment"
8
+ MUSIC = "Music"
9
+ NEWS_AND_BLOGS = "News & Blogs"
10
+ SCIENCE_AND_TECHNOLOGY = "Science & Technology"
11
+ SPORTS = "Sports"
12
+ TRAVEL_AND_PLACES = "Travel & Places"
13
+ VIDEO_GAMES = "Video Games"
14
+ ANIMALS_AND_PETS = "Animals & Pets"
15
+ AUTOS = "Autos"
16
+ VLOGS_PEOPLE = "Vlogs & People"
17
+ HOW_TO_INSTRUCTIONAL_DIY = "How To/Instructional/DIY"
18
+ COMMERCIALS_PROMOTIONAL = "Commercials/Promotional"
19
+ FAMILY_AND_KIDS = "Family & Kids"
20
+ end
21
+
22
+ class OrderBy
23
+ PLAYLIST_ID_ASC = "+playlistId"
24
+ PLAYLIST_ID_DESC = "-playlistId"
25
+ NAME_ASC = "+name"
26
+ NAME_DESC = "-name"
27
+ TYPE_ASC = "+type"
28
+ TYPE_DESC = "-type"
29
+ CREATED_AT_ASC = "+createdAt"
30
+ CREATED_AT_DESC = "-createdAt"
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,26 @@
1
+ module Kaltura
2
+ module Constants
3
+ module UiConf
4
+ class CreationMode
5
+ WIZARD = 2
6
+ ADVANCED = 3
7
+ end
8
+
9
+ class ObjType
10
+ PLAYER = 1
11
+ CONTRIBUTION_WIZARD = 2
12
+ SIMPLE_EDITOR = 3
13
+ ADVANCED_EDITOR = 4
14
+ PLAYLIST = 5
15
+ APP_STUDIO = 6
16
+ end
17
+
18
+ class OrderBy
19
+ CREATED_AT_ASC = "+createdAt"
20
+ CREATED_AT_DESC = "-createdAt"
21
+ UPDATED_AT_ASC = "+updatedAt"
22
+ UPDATED_AT_DESC = "-updatedAt"
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,9 @@
1
+ module Kaltura
2
+ module Constants
3
+ class UploadErrorCode
4
+ NO_ERROR = 0
5
+ GENERAL_ERROR = 1
6
+ PARTIAL_UPLOAD = 2
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ module Kaltura
2
+ module Constants
3
+ module User
4
+ class OrderBy
5
+ CREATED_AT_ASC = "+createdAt"
6
+ CREATED_AT_DESC = "-createdAt"
7
+ end
8
+
9
+ class Status
10
+ BLOCKED = 0
11
+ ACTIVE = 1
12
+ DELETED = 2
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ module Kaltura
2
+ module Constants
3
+ class VideoCodec
4
+ NONE = ""
5
+ VP6 = "vp6"
6
+ H263 = "h263"
7
+ H264 = "h264"
8
+ FLV = "flv"
9
+ MPEG4 = "mpeg4"
10
+ THEORA = "theora"
11
+ WMV2 = "wmv2"
12
+ WMV3 = "wmv3"
13
+ WVC1A = "wvc1a"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Widget
4
+ class OrderBy
5
+ CREATED_AT_ASC = "+createdAt"
6
+ CREATED_AT_DESC = "-createdAt"
7
+ end
8
+
9
+ class SecurityType
10
+ NONE = 1
11
+ TIMEHASH = 2
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,44 @@
1
+ module Kaltura
2
+ module Constants
3
+ module YahooSyndicationFeed
4
+ class AdultValues
5
+ ADULT = "adult"
6
+ NON_ADULT = "nonadult"
7
+ end
8
+
9
+ class Categories
10
+ ACTION = "Action"
11
+ ART_AND_ANIMATION = "Art & Animation"
12
+ ENTERTAINMENT_AND_TV = "Entertainment & TV"
13
+ FOOD = "Food"
14
+ GAMES = "Games"
15
+ HOW_TO = "How-To"
16
+ MUSIC = "Music"
17
+ PEOPLE_AND_VLOGS = "People & Vlogs"
18
+ SCIENCE_AND_ENVIRONMENT = "Science & Environment"
19
+ TRANSPORTATION = "Transportation"
20
+ ANIMALS = "Animals"
21
+ COMMERCIALS = "Commercials"
22
+ FAMILY = "Family"
23
+ FUNNY_VIDEOS = "Funny Videos"
24
+ HEALTH_AND_BEAUTY = "Health & Beauty"
25
+ MOVIES_AND_SHORTS = "Movies & Shorts"
26
+ NEWS_AND_POLITICS = "News & Politics"
27
+ PRODUCTS_AND_TECH = "Products & Tech."
28
+ SPORTS = "Sports"
29
+ TRAVEL = "Travel"
30
+ end
31
+
32
+ class OrderBy
33
+ PLAYLIST_ID_ASC = "+playlistId"
34
+ PLAYLIST_ID_DESC = "-playlistId"
35
+ NAME_ASC = "+name"
36
+ NAME_DESC = "-name"
37
+ TYPE_ASC = "+type"
38
+ TYPE_DESC = "-type"
39
+ CREATED_AT_ASC = "+createdAt"
40
+ CREATED_AT_DESC = "-createdAt"
41
+ end
42
+ end
43
+ end
44
+ end