├── css └── playlist-stub.css ├── .gitignore ├── images ├── back.gif ├── add_icon.gif ├── loader.gif ├── trans_bg.png ├── edit_icon.gif ├── entries_bg.png ├── status_bg.png ├── capture_icon.gif ├── delete_icon.gif ├── small_loader.gif ├── edit_video_icon.gif └── kaltura_button.png ├── screenshot-1.jpg ├── screenshot-2.jpg ├── screenshot-3.jpg ├── screenshot-4.jpg ├── thumbnails └── placeholder.gif ├── tinymce ├── images │ └── spacer.gif └── css │ └── tinymce.css ├── chunked-file-upload-jquery ├── img │ ├── loading.gif │ └── progressbar.gif ├── open-source-libraries.md ├── LICENSE └── css │ └── jquery.fileupload-ui.css ├── bootstrap ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 └── js │ └── npm.js ├── view ├── library │ ├── no-wp-toolbar-css.php │ ├── partner-id-missing.php │ ├── library-menu.php │ ├── edit.php │ ├── contribution-wizard-admin.php │ ├── playlists-list.php │ └── media-list.php ├── connection-error.php ├── contribution-wizard.php ├── filter-media-owner.php ├── network-admin │ └── info.php └── filter-categories.php ├── features.php ├── lib ├── Kaltura │ ├── ViewRenderer.php │ ├── Autoloader.php │ ├── BaseController.php │ ├── client-generation-readme.txt │ └── Client │ │ ├── EnumBase.php │ │ ├── ILogger.php │ │ ├── Enum │ │ ├── DVRStatus.php │ │ ├── EditorType.php │ │ ├── SessionType.php │ │ ├── InheritanceType.php │ │ ├── LivePublishStatus.php │ │ ├── UiConfCreationMode.php │ │ ├── SearchOperatorType.php │ │ ├── AppearInListType.php │ │ ├── CommercialUseType.php │ │ ├── RecordStatus.php │ │ ├── ResponseProfileType.php │ │ ├── PlaylistType.php │ │ ├── PrivacyType.php │ │ ├── ContributionPolicyType.php │ │ ├── NullableBoolean.php │ │ ├── ResponseProfileStatus.php │ │ ├── UserJoinPolicyType.php │ │ ├── CategoryStatus.php │ │ ├── PartnerStatus.php │ │ ├── PartnerGroupType.php │ │ ├── CategoryEntryAdvancedOrderBy.php │ │ ├── DurationType.php │ │ ├── EntryDisplayInSearchType.php │ │ ├── CategoryUserPermissionLevel.php │ │ ├── EntryServerNodeStatus.php │ │ ├── UiConfOrderBy.php │ │ ├── UserEntryExtendedStatus.php │ │ ├── EntryModerationStatus.php │ │ ├── EntryReplacementStatus.php │ │ ├── SearchConditionComparison.php │ │ ├── MediaType.php │ │ ├── EntryType.php │ │ ├── PartnerType.php │ │ ├── EntryStatus.php │ │ ├── SearchProviderType.php │ │ ├── PlaybackProtocol.php │ │ ├── BaseEntryMatchAttribute.php │ │ ├── DataEntryMatchAttribute.php │ │ ├── PlaylistMatchAttribute.php │ │ ├── DocumentEntryMatchAttribute.php │ │ └── MixEntryMatchAttribute.php │ │ ├── Plugin.php │ │ ├── Document │ │ ├── Enum │ │ │ └── DocumentType.php │ │ └── Type │ │ │ └── DocumentEntryFilter.php │ │ ├── Metadata │ │ ├── Enum │ │ │ ├── MetadataStatus.php │ │ │ ├── MetadataProfileCreateMode.php │ │ │ ├── MetadataProfileStatus.php │ │ │ ├── MetadataProfileOrderBy.php │ │ │ ├── MetadataOrderBy.php │ │ │ └── MetadataObjectType.php │ │ └── Type │ │ │ ├── MetadataFilter.php │ │ │ ├── MetadataProfileFilter.php │ │ │ ├── MetadataResponseProfileMapping.php │ │ │ └── DynamicObjectSearchItem.php │ │ ├── ExternalMedia │ │ ├── Enum │ │ │ └── ExternalMediaSourceType.php │ │ └── Type │ │ │ └── ExternalMediaEntryFilter.php │ │ ├── ContentDistribution │ │ └── Enum │ │ │ ├── EntryDistributionSunStatus.php │ │ │ ├── EntryDistributionFlag.php │ │ │ └── EntryDistributionStatus.php │ │ ├── IPlugin.php │ │ ├── Type │ │ ├── Context.php │ │ ├── Resource.php │ │ ├── SearchItem.php │ │ ├── UiConfFilter.php │ │ ├── RelatedFilter.php │ │ ├── ContentResource.php │ │ ├── MixEntryFilter.php │ │ ├── PlaylistFilter.php │ │ ├── DataEntryFilter.php │ │ ├── MediaEntryFilter.php │ │ ├── BaseResponseProfile.php │ │ ├── LiveChannelFilter.php │ │ ├── OperationAttributes.php │ │ ├── LiveStreamAdminEntry.php │ │ ├── PlaylistBaseFilter.php │ │ ├── DataEntryBaseFilter.php │ │ ├── LiveEntryBaseFilter.php │ │ ├── MixEntryBaseFilter.php │ │ ├── PlayableEntryFilter.php │ │ ├── LiveChannelBaseFilter.php │ │ ├── LiveStreamEntryFilter.php │ │ ├── DataCenterContentResource.php │ │ ├── LiveStreamEntryBaseFilter.php │ │ ├── LiveStreamAdminEntryFilter.php │ │ ├── LiveStreamAdminEntryBaseFilter.php │ │ ├── GenericDataCenterContentResource.php │ │ ├── AttributeCondition.php │ │ ├── ListResponse.php │ │ ├── StringResource.php │ │ ├── AssetResource.php │ │ ├── MediaEntryFilterForPlaylist.php │ │ ├── WebcamTokenResource.php │ │ └── SearchMatchCondition.php │ │ ├── Quiz │ │ └── Type │ │ │ └── QuizAdvancedFilter.php │ │ └── ClientException.php └── KalturaWordpressClientBase.php ├── all-in-one-video-pack.php ├── settings.php ├── js └── kaltura.js └── CHANGELOG.md /css/playlist-stub.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .idea/ 3 | -------------------------------------------------------------------------------- /images/back.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/back.gif -------------------------------------------------------------------------------- /screenshot-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/screenshot-1.jpg -------------------------------------------------------------------------------- /screenshot-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/screenshot-2.jpg -------------------------------------------------------------------------------- /screenshot-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/screenshot-3.jpg -------------------------------------------------------------------------------- /screenshot-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/screenshot-4.jpg -------------------------------------------------------------------------------- /images/add_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/add_icon.gif -------------------------------------------------------------------------------- /images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/loader.gif -------------------------------------------------------------------------------- /images/trans_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/trans_bg.png -------------------------------------------------------------------------------- /images/edit_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/edit_icon.gif -------------------------------------------------------------------------------- /images/entries_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/entries_bg.png -------------------------------------------------------------------------------- /images/status_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/status_bg.png -------------------------------------------------------------------------------- /images/capture_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/capture_icon.gif -------------------------------------------------------------------------------- /images/delete_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/delete_icon.gif -------------------------------------------------------------------------------- /images/small_loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/small_loader.gif -------------------------------------------------------------------------------- /images/edit_video_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/edit_video_icon.gif -------------------------------------------------------------------------------- /images/kaltura_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/images/kaltura_button.png -------------------------------------------------------------------------------- /thumbnails/placeholder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/thumbnails/placeholder.gif -------------------------------------------------------------------------------- /tinymce/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/tinymce/images/spacer.gif -------------------------------------------------------------------------------- /chunked-file-upload-jquery/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/chunked-file-upload-jquery/img/loading.gif -------------------------------------------------------------------------------- /chunked-file-upload-jquery/img/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/chunked-file-upload-jquery/img/progressbar.gif -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /view/library/no-wp-toolbar-css.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaltura/all-in-one-video-pack.wordpress/HEAD/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /tinymce/css/tinymce.css: -------------------------------------------------------------------------------- 1 | .kaltura_item { 2 | border: 0; 3 | background-position: 0 0; 4 | background-repeat: no-repeat; 5 | background-color: #000; 6 | } -------------------------------------------------------------------------------- /view/connection-error.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |

4 | Your connection has failed to reach the Kaltura servers. Please check if your web host blocks outgoing connections and then retry. 5 |

6 |
-------------------------------------------------------------------------------- /view/library/partner-id-missing.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | To get started, you need to get a Partner ID. 4 | Click here to get one 5 |
-------------------------------------------------------------------------------- /chunked-file-upload-jquery/open-source-libraries.md: -------------------------------------------------------------------------------- 1 | # Open Source & 3rd-party components in this project 2 | * [blueimp/jQuery-File-Upload]((https://github.com/blueimp/jQuery-File-Upload)): MIT License 3 | * [webtoolkit.md5](https://github.com/killmenot/webtoolkit.md5): MIT License 4 | * [Bootstrap](https://github.com/twbs/bootstrap): MIT License 5 | -------------------------------------------------------------------------------- /features.php: -------------------------------------------------------------------------------- 1 | true, 14 | ); -------------------------------------------------------------------------------- /lib/Kaltura/ViewRenderer.php: -------------------------------------------------------------------------------- 1 | $value ) { 7 | $this->$key = $value; 8 | } 9 | $this->allowViewRendering = true; 10 | if ( is_file( plugin_dir_path(KALTURA_PLUGIN_FILE) . '/view/' . $viewFile ) ) { 11 | include( plugin_dir_path(KALTURA_PLUGIN_FILE) . '/view/' . $viewFile ); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /lib/Kaltura/Autoloader.php: -------------------------------------------------------------------------------- 1 | _basePath = $basePath; 8 | } 9 | 10 | public function autoload( $class ) { 11 | $classPath = str_replace( '_', '/', $class ); 12 | $classPath = $this->_basePath . '/lib/' . $classPath . '.php'; 13 | if ( file_exists( $classPath ) ) { 14 | include( $classPath ); 15 | } 16 | } 17 | 18 | public function register() { 19 | spl_autoload_register( array( $this, 'autoload' ) ); 20 | } 21 | } -------------------------------------------------------------------------------- /all-in-one-video-pack.php: -------------------------------------------------------------------------------- 1 | register(); 19 | 20 | $kalturaPlugin = new Kaltura_AllInOneVideoPackPlugin(); 21 | $kalturaPlugin->init(); 22 | -------------------------------------------------------------------------------- /view/contribution-wizard.php: -------------------------------------------------------------------------------- 1 | 2 | flashVars ) ) { 5 | $flashVarsStr = KalturaHelpers::flashVarsToString( $this->flashVars ); 6 | } 7 | ?> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /settings.php: -------------------------------------------------------------------------------- 1 | ( is_ssl() ) ? 'https://www.kaltura.com' : 'http://www.kaltura.com', 8 | 'cdn_url' => ( is_ssl() ) ? 'https://cdn.kaltura.com' : 'http://cdn.kaltura.com', 9 | 'anonymous_user_id' => 'Anonymous', 10 | 'kcw_ui_conf_id_admin' => 15333782, 11 | 'categoriesRootId' => 0, 12 | 'thumbnail_player_ui_conf_id' => 14969192, 13 | 'kaltura_default_player_type' => 11958362, // default player if player was not chosen in plugin admin screen 14 | 'kaltura_show_media_from' => 'all_account', // when browsing media - should the media be from the whole account or just the logged in user's? 15 | 'kaltura_enable_kcw' => false, // enables the legacy flash uploader instead of html5 uploader 16 | 'kaltura_user_identifier' => 'user_login', 17 | 'kaltura_show_kmc_email' => true 18 | ); -------------------------------------------------------------------------------- /lib/Kaltura/BaseController.php: -------------------------------------------------------------------------------- 1 | validateAccess(); 13 | $kaction = $this->getKAction(); 14 | $methodName = $kaction . 'Action'; 15 | if ( method_exists( $this, $methodName ) ) { 16 | call_user_func( array( $this, $methodName ) ); 17 | } 18 | } 19 | 20 | public function renderView( $viewFile, array $params = array() ) { 21 | $viewRenderer = new Kaltura_ViewRenderer(); 22 | $viewRenderer->renderView( $viewFile, $params ); 23 | } 24 | 25 | protected function validateAccess() { 26 | $kaction = $this->getKAction(); 27 | if ( ! in_array( $kaction, $this->allowedActions(), true ) ) { 28 | die( 'Access denied' ); 29 | } 30 | } 31 | 32 | protected function getKAction() { 33 | return KalturaSanitizer::kaction( KalturaHelpers::getRequestParam( 'kaction' ) ); 34 | } 35 | } -------------------------------------------------------------------------------- /view/filter-media-owner.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 15 |
-------------------------------------------------------------------------------- /js/kaltura.js: -------------------------------------------------------------------------------- 1 | Kaltura = { 2 | Delegate: { 3 | create: function (/*Object*/ scope, /*Function*/ method) { 4 | var f = function () { 5 | return method.apply(scope, arguments); 6 | }; 7 | return f; 8 | } 9 | }, 10 | 11 | getTopWindow: function () { 12 | return (window.opener) ? window.opener : (window.parent) ? window.parent : window.top; 13 | }, 14 | 15 | activatePlayer: function (thumbnailDivId, playerDivId) { 16 | jQuery('#' + playerDivId).show(); 17 | jQuery('#' + thumbnailDivId).hide(); 18 | }, 19 | 20 | isMacFF: function () { 21 | var userAgent = navigator.userAgent.toLowerCase(); 22 | if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox') != -1) { 23 | return true; 24 | } 25 | return false; 26 | }, 27 | 28 | hideTinyMCEToolbar: function () { 29 | var topWindow = Kaltura.getTopWindow(); 30 | topWindow.jQuery("#content_tbl tr.mceFirst").hide(); 31 | }, 32 | 33 | showTinyMCEToolbar: function () { 34 | var topWindow = Kaltura.getTopWindow(); 35 | topWindow.jQuery("#content_tbl tr.mceFirst").show(); 36 | } 37 | }; 38 | -------------------------------------------------------------------------------- /view/library/library-menu.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | showEmail): ?> 10 | 11 | 12 | 14 | 15 | 16 | 17 | 23 | 24 |
Partner ID: 7 |
KMC username: 13 |
18 | Login to the Kaltura Management Console (KMC) for advanced 19 |
media management
20 | Learn more about the 21 | new plugin features 22 |
-------------------------------------------------------------------------------- /view/library/edit.php: -------------------------------------------------------------------------------- 1 | 2 | redirectUrl)): ?> 3 | 6 | 7 |
8 |
9 |
10 | 11 | 12 |
13 |
14 | 15 | 16 |
17 |

18 | 19 |

20 |
21 |
22 | -------------------------------------------------------------------------------- /lib/Kaltura/client-generation-readme.txt: -------------------------------------------------------------------------------- 1 | The client library should be generated using the Kaltura client generation framework (part of kaltura server https://github.com/kaltura/server) 2 | The following configuration section was used to generate the lite client library: 3 | 4 | [wordpress: public] 5 | generator = PhpZendClientGenerator 6 | include = session.start, partner.getSecrets, partner.register, baseEntry.get, baseEntry.list, baseEntry.update, playlist.list, playlist.execute, media.update, baseEntry.delete, category.list, system.ping, uiConf.list, uiConf.get, metadata_metadata.add, metadata_metadata.update, metadata_metadata.list, metadata_metadataProfile.list 7 | ignore = KalturaUiConfAdminBaseFilter, KalturaUiConfAdminFilter, KalturaForensicWatermarkAdvancedFilter 8 | ignoreExtends = KalturaListResponse, KalturaRelatedFilter, KalturaFilter 9 | ignoreEmptyPlugins = true 10 | additional = KalturaFilter, KalturaUiConf, KalturaSearchItem 11 | generateDocs = true 12 | package = Kaltura 13 | subpackage = Client 14 | 15 | When generating a new library, and some unrelated inherited objects are added, each of those objects should be added to the ignore list. 16 | -------------------------------------------------------------------------------- /chunked-file-upload-jquery/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Kaltura 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /chunked-file-upload-jquery/css/jquery.fileupload-ui.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin CSS 9.0.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2010, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileupload-buttonbar .btn, 14 | .fileupload-buttonbar .toggle { 15 | margin-bottom: 5px; 16 | } 17 | .progress-animated .progress-bar, 18 | .progress-animated .bar { 19 | background: url("../img/progressbar.gif") !important; 20 | filter: none; 21 | } 22 | .fileupload-process { 23 | float: right; 24 | display: none; 25 | } 26 | .fileupload-processing .fileupload-process, 27 | .files .processing .preview { 28 | display: block; 29 | width: 32px; 30 | height: 32px; 31 | background: url("../img/loading.gif") center no-repeat; 32 | background-size: contain; 33 | } 34 | .files audio, 35 | .files video { 36 | max-width: 300px; 37 | } 38 | 39 | @media (max-width: 767px) { 40 | .fileupload-buttonbar .toggle, 41 | .files .toggle, 42 | .files .btn span { 43 | display: none; 44 | } 45 | .files .name { 46 | width: 80px; 47 | word-wrap: break-word; 48 | } 49 | .files audio, 50 | .files video { 51 | max-width: 80px; 52 | } 53 | .files img, 54 | .files canvas { 55 | max-width: 100%; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /view/library/contribution-wizard-admin.php: -------------------------------------------------------------------------------- 1 | 2 | renderView( 'contribution-wizard.php' ); 5 | ?> 6 | 7 | -------------------------------------------------------------------------------- /lib/KalturaWordpressClientBase.php: -------------------------------------------------------------------------------- 1 | 0 ) { 16 | throw new Kaltura_Client_ClientException( 'Uploading files is not supported with stream context http request, please use curl', 17 | Kaltura_Client_ClientException::ERROR_UPLOAD_NOT_SUPPORTED ); 18 | } 19 | 20 | $requestParams = array( 21 | 'method' => 'POST', 22 | 'timeout' => $this->config->curlTimeout, 23 | 'redirection' => 5, 24 | 'httpversion' => '1.0', 25 | 'blocking' => true, 26 | 'user-agent' => $this->config->userAgent, 27 | 'headers' => array( 28 | "Accept-language: en", 29 | "Content-type: application/x-www-form-urlencoded" 30 | ), 31 | 'body' => $params, 32 | 'cookies' => array() 33 | ); 34 | 35 | $response = wp_remote_post( $url, $requestParams ); 36 | 37 | if ( is_wp_error( $response ) ) { 38 | $error_message = $response->get_error_message(); 39 | throw new Kaltura_Client_ClientException( "Problem connecting to $url. Error msg: $error_message", 40 | Kaltura_Client_ClientException::ERROR_GENERIC ); 41 | } else { 42 | return array( wp_remote_retrieve_body( $response ), 200, '' ); 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /lib/Kaltura/Client/EnumBase.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | /** 30 | * Abstract base class for all client enums 31 | * 32 | * @package Kaltura 33 | * @subpackage Client 34 | */ 35 | abstract class Kaltura_Client_EnumBase 36 | { 37 | } 38 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ILogger.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | /** 30 | * Implement to get Kaltura Client logs 31 | * 32 | * @package Kaltura 33 | * @subpackage Client 34 | */ 35 | interface Kaltura_Client_ILogger 36 | { 37 | function log($msg); 38 | } 39 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/DVRStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_DVRStatus extends Kaltura_Client_EnumBase 35 | { 36 | const DISABLED = 0; 37 | const ENABLED = 1; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EditorType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EditorType extends Kaltura_Client_EnumBase 35 | { 36 | const SIMPLE = 1; 37 | const ADVANCED = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/SessionType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_SessionType extends Kaltura_Client_EnumBase 35 | { 36 | const USER = 0; 37 | const ADMIN = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/InheritanceType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_InheritanceType extends Kaltura_Client_EnumBase 35 | { 36 | const INHERIT = 1; 37 | const MANUAL = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/LivePublishStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_LivePublishStatus extends Kaltura_Client_EnumBase 35 | { 36 | const DISABLED = 0; 37 | const ENABLED = 1; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/UiConfCreationMode.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_UiConfCreationMode extends Kaltura_Client_EnumBase 35 | { 36 | const WIZARD = 2; 37 | const ADVANCED = 3; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/SearchOperatorType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_SearchOperatorType extends Kaltura_Client_EnumBase 35 | { 36 | const SEARCH_AND = 1; 37 | const SEARCH_OR = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Plugin.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | /** 30 | * @package Kaltura 31 | * @subpackage Client 32 | */ 33 | abstract class Kaltura_Client_Plugin implements Kaltura_Client_IPlugin 34 | { 35 | protected function __construct(Kaltura_Client_Client $client) 36 | { 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /view/library/playlists-list.php: -------------------------------------------------------------------------------- 1 | 4 |
5 |
6 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |
28 | 29 |
30 |
31 |
32 | 43 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/AppearInListType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_AppearInListType extends Kaltura_Client_EnumBase 35 | { 36 | const PARTNER_ONLY = 1; 37 | const CATEGORY_MEMBERS_ONLY = 3; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/CommercialUseType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_CommercialUseType extends Kaltura_Client_EnumBase 35 | { 36 | const NON_COMMERCIAL_USE = 0; 37 | const COMMERCIAL_USE = 1; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/RecordStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_RecordStatus extends Kaltura_Client_EnumBase 35 | { 36 | const DISABLED = 0; 37 | const APPENDED = 1; 38 | const PER_SESSION = 2; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/ResponseProfileType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_ResponseProfileType extends Kaltura_Client_EnumBase 35 | { 36 | const INCLUDE_FIELDS = 1; 37 | const EXCLUDE_FIELDS = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PlaylistType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PlaylistType extends Kaltura_Client_EnumBase 35 | { 36 | const STATIC_LIST = 3; 37 | const DYNAMIC = 10; 38 | const EXTERNAL = 101; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PrivacyType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PrivacyType extends Kaltura_Client_EnumBase 35 | { 36 | const ALL = 1; 37 | const AUTHENTICATED_USERS = 2; 38 | const MEMBERS_ONLY = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Document/Enum/DocumentType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Document_Enum_DocumentType extends Kaltura_Client_EnumBase 35 | { 36 | const DOCUMENT = 11; 37 | const SWF = 12; 38 | const PDF = 13; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/ContributionPolicyType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_ContributionPolicyType extends Kaltura_Client_EnumBase 35 | { 36 | const ALL = 1; 37 | const MEMBERS_WITH_CONTRIBUTION_PERMISSION = 2; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/NullableBoolean.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_NullableBoolean extends Kaltura_Client_EnumBase 35 | { 36 | const NULL_VALUE = -1; 37 | const FALSE_VALUE = 0; 38 | const TRUE_VALUE = 1; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/ResponseProfileStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_ResponseProfileStatus extends Kaltura_Client_EnumBase 35 | { 36 | const DISABLED = 1; 37 | const ENABLED = 2; 38 | const DELETED = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataStatus extends Kaltura_Client_EnumBase 35 | { 36 | const VALID = 1; 37 | const INVALID = 2; 38 | const DELETED = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/UserJoinPolicyType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_UserJoinPolicyType extends Kaltura_Client_EnumBase 35 | { 36 | const AUTO_JOIN = 1; 37 | const REQUEST_TO_JOIN = 2; 38 | const NOT_ALLOWED = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/CategoryStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_CategoryStatus extends Kaltura_Client_EnumBase 35 | { 36 | const UPDATING = 1; 37 | const ACTIVE = 2; 38 | const DELETED = 3; 39 | const PURGED = 4; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PartnerStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PartnerStatus extends Kaltura_Client_EnumBase 35 | { 36 | const DELETED = 0; 37 | const ACTIVE = 1; 38 | const BLOCKED = 2; 39 | const FULL_BLOCK = 3; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PartnerGroupType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PartnerGroupType extends Kaltura_Client_EnumBase 35 | { 36 | const PUBLISHER = 1; 37 | const VAR_GROUP = 2; 38 | const GROUP = 3; 39 | const TEMPLATE = 4; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataProfileCreateMode.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataProfileCreateMode extends Kaltura_Client_EnumBase 35 | { 36 | const API = 1; 37 | const KMC = 2; 38 | const APP = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/CategoryEntryAdvancedOrderBy.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_CategoryEntryAdvancedOrderBy extends Kaltura_Client_EnumBase 35 | { 36 | const CREATED_AT_ASC = "+createdAt"; 37 | const CREATED_AT_DESC = "-createdAt"; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ExternalMedia/Enum/ExternalMediaSourceType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_ExternalMedia_Enum_ExternalMediaSourceType extends Kaltura_Client_EnumBase 35 | { 36 | const INTERCALL = "InterCall"; 37 | const YOUTUBE = "YouTube"; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataProfileStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataProfileStatus extends Kaltura_Client_EnumBase 35 | { 36 | const ACTIVE = 1; 37 | const DEPRECATED = 2; 38 | const TRANSFORMING = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/DurationType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_DurationType extends Kaltura_Client_EnumBase 35 | { 36 | const LONG = "long"; 37 | const MEDIUM = "medium"; 38 | const NOT_AVAILABLE = "notavailable"; 39 | const SHORT = "short"; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryDisplayInSearchType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryDisplayInSearchType extends Kaltura_Client_EnumBase 35 | { 36 | const SYSTEM = -1; 37 | const NONE = 0; 38 | const PARTNER_ONLY = 1; 39 | const KALTURA_NETWORK = 2; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ContentDistribution/Enum/EntryDistributionSunStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_ContentDistribution_Enum_EntryDistributionSunStatus extends Kaltura_Client_EnumBase 35 | { 36 | const BEFORE_SUNRISE = 1; 37 | const AFTER_SUNRISE = 2; 38 | const AFTER_SUNSET = 3; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/CategoryUserPermissionLevel.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_CategoryUserPermissionLevel extends Kaltura_Client_EnumBase 35 | { 36 | const MANAGER = 0; 37 | const MODERATOR = 1; 38 | const CONTRIBUTOR = 2; 39 | const MEMBER = 3; 40 | const NONE = 4; 41 | } 42 | 43 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryServerNodeStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryServerNodeStatus extends Kaltura_Client_EnumBase 35 | { 36 | const STOPPED = 0; 37 | const PLAYABLE = 1; 38 | const BROADCASTING = 2; 39 | const AUTHENTICATED = 3; 40 | const MARKED_FOR_DELETION = 4; 41 | } 42 | 43 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/UiConfOrderBy.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_UiConfOrderBy extends Kaltura_Client_EnumBase 35 | { 36 | const CREATED_AT_ASC = "+createdAt"; 37 | const UPDATED_AT_ASC = "+updatedAt"; 38 | const CREATED_AT_DESC = "-createdAt"; 39 | const UPDATED_AT_DESC = "-updatedAt"; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /view/network-admin/info.php: -------------------------------------------------------------------------------- 1 | 3 | error ): ?> 4 |
5 |

6 |
7 | 8 |

9 | (error ); ?>) 10 |

11 | Change settings 12 |
13 | 14 |
15 | showMessage ): ?> 16 |

17 |

18 | 19 |

20 |
21 | 22 |

23 | In this page you can configure the default settings for all blogs under the current WordPress MU installation 24 |

25 | 26 | 27 | 28 | 30 | 31 | 32 | 33 | 35 | 36 |
: 29 |
: 34 |
37 | Change settings 38 |
39 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_UserEntryExtendedStatus extends Kaltura_Client_EnumBase 35 | { 36 | const PLAYBACK_COMPLETE = "viewHistory.PLAYBACK_COMPLETE"; 37 | const PLAYBACK_STARTED = "viewHistory.PLAYBACK_STARTED"; 38 | const VIEWED = "viewHistory.VIEWED"; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryModerationStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryModerationStatus extends Kaltura_Client_EnumBase 35 | { 36 | const PENDING_MODERATION = 1; 37 | const APPROVED = 2; 38 | const REJECTED = 3; 39 | const DELETED = 4; 40 | const FLAGGED_FOR_REVIEW = 5; 41 | const AUTO_APPROVED = 6; 42 | } 43 | 44 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryReplacementStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryReplacementStatus extends Kaltura_Client_EnumBase 35 | { 36 | const NONE = "0"; 37 | const APPROVED_BUT_NOT_READY = "1"; 38 | const READY_BUT_NOT_APPROVED = "2"; 39 | const NOT_READY_AND_NOT_APPROVED = "3"; 40 | const FAILED = "4"; 41 | } 42 | 43 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataProfileOrderBy.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataProfileOrderBy extends Kaltura_Client_EnumBase 35 | { 36 | const CREATED_AT_ASC = "+createdAt"; 37 | const UPDATED_AT_ASC = "+updatedAt"; 38 | const CREATED_AT_DESC = "-createdAt"; 39 | const UPDATED_AT_DESC = "-updatedAt"; 40 | } 41 | 42 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/SearchConditionComparison.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_SearchConditionComparison extends Kaltura_Client_EnumBase 35 | { 36 | const EQUAL = "1"; 37 | const GREATER_THAN = "2"; 38 | const GREATER_THAN_OR_EQUAL = "3"; 39 | const LESS_THAN = "4"; 40 | const LESS_THAN_OR_EQUAL = "5"; 41 | const NOT_EQUAL = "6"; 42 | } 43 | 44 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/MediaType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_MediaType extends Kaltura_Client_EnumBase 35 | { 36 | const VIDEO = 1; 37 | const IMAGE = 2; 38 | const AUDIO = 5; 39 | const LIVE_STREAM_FLASH = 201; 40 | const LIVE_STREAM_WINDOWS_MEDIA = 202; 41 | const LIVE_STREAM_REAL_MEDIA = 203; 42 | const LIVE_STREAM_QUICKTIME = 204; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ContentDistribution/Enum/EntryDistributionFlag.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_ContentDistribution_Enum_EntryDistributionFlag extends Kaltura_Client_EnumBase 35 | { 36 | const NONE = 0; 37 | const SUBMIT_REQUIRED = 1; 38 | const DELETE_REQUIRED = 2; 39 | const UPDATE_REQUIRED = 3; 40 | const ENABLE_REQUIRED = 4; 41 | const DISABLE_REQUIRED = 5; 42 | } 43 | 44 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/IPlugin.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | /** 30 | * @package Kaltura 31 | * @subpackage Client 32 | */ 33 | interface Kaltura_Client_IPlugin 34 | { 35 | /** 36 | * @return Kaltura_Client_ClientPlugin 37 | */ 38 | public static function get(Kaltura_Client_Client $client); 39 | 40 | /** 41 | * @return array 42 | */ 43 | public function getServices(); 44 | 45 | /** 46 | * @return string 47 | */ 48 | public function getName(); 49 | } 50 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryType extends Kaltura_Client_EnumBase 35 | { 36 | const AUTOMATIC = "-1"; 37 | const EXTERNAL_MEDIA = "externalMedia.externalMedia"; 38 | const MEDIA_CLIP = "1"; 39 | const MIX = "2"; 40 | const PLAYLIST = "5"; 41 | const DATA = "6"; 42 | const LIVE_STREAM = "7"; 43 | const LIVE_CHANNEL = "8"; 44 | const DOCUMENT = "10"; 45 | } 46 | 47 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/Context.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_Context extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaContext'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/Resource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_Resource extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/SearchItem.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_SearchItem extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaSearchItem'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/UiConfFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_UiConfFilter extends Kaltura_Client_Type_UiConfBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaUiConfFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/RelatedFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_RelatedFilter extends Kaltura_Client_Type_Filter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaRelatedFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PartnerType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PartnerType extends Kaltura_Client_EnumBase 35 | { 36 | const KMC = 1; 37 | const WIKI = 100; 38 | const WORDPRESS = 101; 39 | const DRUPAL = 102; 40 | const DEKIWIKI = 103; 41 | const MOODLE = 104; 42 | const COMMUNITY_EDITION = 105; 43 | const JOOMLA = 106; 44 | const BLACKBOARD = 107; 45 | const SAKAI = 108; 46 | const ADMIN_CONSOLE = 109; 47 | } 48 | 49 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/ContentResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_ContentResource extends Kaltura_Client_Type_Resource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaContentResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/MixEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_MixEntryFilter extends Kaltura_Client_Type_MixEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMixEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/PlaylistFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_PlaylistFilter extends Kaltura_Client_Type_PlaylistBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaPlaylistFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/DataEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_DataEntryFilter extends Kaltura_Client_Type_DataEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaDataEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/MediaEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_MediaEntryFilter extends Kaltura_Client_Type_MediaEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMediaEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/BaseResponseProfile.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_BaseResponseProfile extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaBaseResponseProfile'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveChannelFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_LiveChannelFilter extends Kaltura_Client_Type_LiveChannelBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveChannelFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/OperationAttributes.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_OperationAttributes extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaOperationAttributes'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveStreamAdminEntry.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_LiveStreamAdminEntry extends Kaltura_Client_Type_LiveStreamEntry 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveStreamAdminEntry'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/PlaylistBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_PlaylistBaseFilter extends Kaltura_Client_Type_BaseEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaPlaylistBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/DataEntryBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_DataEntryBaseFilter extends Kaltura_Client_Type_BaseEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaDataEntryBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveEntryBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_LiveEntryBaseFilter extends Kaltura_Client_Type_MediaEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveEntryBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/MixEntryBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_MixEntryBaseFilter extends Kaltura_Client_Type_PlayableEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMixEntryBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/PlayableEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_PlayableEntryFilter extends Kaltura_Client_Type_PlayableEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaPlayableEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Type/MetadataFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Type_MetadataFilter extends Kaltura_Client_Metadata_Type_MetadataBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMetadataFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveChannelBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_LiveChannelBaseFilter extends Kaltura_Client_Type_LiveEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveChannelBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveStreamEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_LiveStreamEntryFilter extends Kaltura_Client_Type_LiveStreamEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveStreamEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/DataCenterContentResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_DataCenterContentResource extends Kaltura_Client_Type_ContentResource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaDataCenterContentResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveStreamEntryBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_LiveStreamEntryBaseFilter extends Kaltura_Client_Type_LiveEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveStreamEntryBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Document/Type/DocumentEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Document_Type_DocumentEntryFilter extends Kaltura_Client_Document_Type_DocumentEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaDocumentEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveStreamAdminEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_LiveStreamAdminEntryFilter extends Kaltura_Client_Type_LiveStreamAdminEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveStreamAdminEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /view/filter-categories.php: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Type/MetadataProfileFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Type_MetadataProfileFilter extends Kaltura_Client_Metadata_Type_MetadataProfileBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMetadataProfileFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/LiveStreamAdminEntryBaseFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_LiveStreamAdminEntryBaseFilter extends Kaltura_Client_Type_LiveStreamEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaLiveStreamAdminEntryBaseFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Type/MetadataResponseProfileMapping.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Type_MetadataResponseProfileMapping extends Kaltura_Client_Type_ResponseProfileMapping 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMetadataResponseProfileMapping'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/GenericDataCenterContentResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_GenericDataCenterContentResource extends Kaltura_Client_Type_DataCenterContentResource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaGenericDataCenterContentResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ExternalMedia/Type/ExternalMediaEntryFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_ExternalMedia_Type_ExternalMediaEntryFilter extends Kaltura_Client_ExternalMedia_Type_ExternalMediaEntryBaseFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaExternalMediaEntryFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/EntryStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_EntryStatus extends Kaltura_Client_EnumBase 35 | { 36 | const ERROR_IMPORTING = "-2"; 37 | const ERROR_CONVERTING = "-1"; 38 | const SCAN_FAILURE = "virusScan.ScanFailure"; 39 | const IMPORT = "0"; 40 | const INFECTED = "virusScan.Infected"; 41 | const PRECONVERT = "1"; 42 | const READY = "2"; 43 | const DELETED = "3"; 44 | const PENDING = "4"; 45 | const MODERATE = "5"; 46 | const BLOCKED = "6"; 47 | const NO_CONTENT = "7"; 48 | } 49 | 50 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataOrderBy.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataOrderBy extends Kaltura_Client_EnumBase 35 | { 36 | const CREATED_AT_ASC = "+createdAt"; 37 | const METADATA_PROFILE_VERSION_ASC = "+metadataProfileVersion"; 38 | const UPDATED_AT_ASC = "+updatedAt"; 39 | const VERSION_ASC = "+version"; 40 | const CREATED_AT_DESC = "-createdAt"; 41 | const METADATA_PROFILE_VERSION_DESC = "-metadataProfileVersion"; 42 | const UPDATED_AT_DESC = "-updatedAt"; 43 | const VERSION_DESC = "-version"; 44 | } 45 | 46 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ContentDistribution/Enum/EntryDistributionStatus.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_ContentDistribution_Enum_EntryDistributionStatus extends Kaltura_Client_EnumBase 35 | { 36 | const PENDING = 0; 37 | const QUEUED = 1; 38 | const READY = 2; 39 | const DELETED = 3; 40 | const SUBMITTING = 4; 41 | const UPDATING = 5; 42 | const DELETING = 6; 43 | const ERROR_SUBMITTING = 7; 44 | const ERROR_UPDATING = 8; 45 | const ERROR_DELETING = 9; 46 | const REMOVED = 10; 47 | const IMPORT_SUBMITTING = 11; 48 | const IMPORT_UPDATING = 12; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/SearchProviderType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_SearchProviderType extends Kaltura_Client_EnumBase 35 | { 36 | const FLICKR = 3; 37 | const YOUTUBE = 4; 38 | const MYSPACE = 7; 39 | const PHOTOBUCKET = 8; 40 | const JAMENDO = 9; 41 | const CCMIXTER = 10; 42 | const NYPL = 11; 43 | const CURRENT = 12; 44 | const MEDIA_COMMONS = 13; 45 | const KALTURA = 20; 46 | const KALTURA_USER_CLIPS = 21; 47 | const ARCHIVE_ORG = 22; 48 | const KALTURA_PARTNER = 23; 49 | const METACAFE = 24; 50 | const SEARCH_PROXY = 28; 51 | const PARTNER_SPECIFIC = 100; 52 | } 53 | 54 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PlaybackProtocol.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PlaybackProtocol extends Kaltura_Client_EnumBase 35 | { 36 | const APPLE_HTTP = "applehttp"; 37 | const APPLE_HTTP_TO_MC = "applehttp_to_mc"; 38 | const AUTO = "auto"; 39 | const AKAMAI_HD = "hdnetwork"; 40 | const AKAMAI_HDS = "hdnetworkmanifest"; 41 | const HDS = "hds"; 42 | const HLS = "hls"; 43 | const HTTP = "http"; 44 | const MPEG_DASH = "mpegdash"; 45 | const MULTICAST_SL = "multicast_silverlight"; 46 | const RTMP = "rtmp"; 47 | const RTSP = "rtsp"; 48 | const SILVER_LIGHT = "sl"; 49 | const URL = "url"; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/AttributeCondition.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | abstract class Kaltura_Client_Type_AttributeCondition extends Kaltura_Client_Type_SearchItem 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaAttributeCondition'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->value)) 49 | $this->value = (string)$xml->value; 50 | } 51 | /** 52 | * 53 | * 54 | * @var string 55 | */ 56 | public $value = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/ListResponse.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_ListResponse extends Kaltura_Client_ObjectBase 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaListResponse'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->totalCount)) 49 | $this->totalCount = (int)$xml->totalCount; 50 | } 51 | /** 52 | * 53 | * 54 | * @var int 55 | * @readonly 56 | */ 57 | public $totalCount = null; 58 | 59 | 60 | } 61 | 62 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/StringResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_StringResource extends Kaltura_Client_Type_ContentResource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaStringResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->content)) 49 | $this->content = (string)$xml->content; 50 | } 51 | /** 52 | * Textual content 53 | * 54 | * @var string 55 | */ 56 | public $content = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/AssetResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_AssetResource extends Kaltura_Client_Type_ContentResource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaAssetResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->assetId)) 49 | $this->assetId = (string)$xml->assetId; 50 | } 51 | /** 52 | * ID of the source asset 53 | * 54 | * @var string 55 | */ 56 | public $assetId = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/MediaEntryFilterForPlaylist.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_MediaEntryFilterForPlaylist extends Kaltura_Client_Type_MediaEntryFilter 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaMediaEntryFilterForPlaylist'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->limit)) 49 | $this->limit = (int)$xml->limit; 50 | } 51 | /** 52 | * 53 | * 54 | * @var int 55 | */ 56 | public $limit = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## Changelog 2 | 3 | ### Version 2.7 4 | * Cosmetic fixes to player embed on latest WordPress versions 5 | * HTML (not Flash) upload 6 | * Option for responsive player embed 7 | * Improvements to search and filter in Browse Existing Media 8 | * Ability to filter and choose from content the user is co-editor or co-publisher of 9 | * Removed the additional optional sidebar 10 | * Ability for administrators to choose whether editors see all publisher media or only their own media in Browse Existing Media 11 | * Ability for administrators to define root category (in Kaltura) that all media is uploaded to and that content can be repurposed from 12 | * Ability for administrators to select which players are available for content editors to choose from 13 | * Removed video comments 14 | 15 | ### Version 2.6 16 | * WordPress VIP version including sanitization, escaping and many other code improvements. 17 | 18 | ### Version 2.5.1 19 | * Fixed PHP notice 20 | 21 | ### Version 2.5 22 | * Full support for WordPress 3.5.2 23 | * Multi-User Support - install the plugin once, use video in multiple WordPress site instances (separate instances with centralized management and administration of all content) 24 | * Mobile playback support – reach anyone on any device (including iOS, Android), web, and set-top boxes. 25 | 26 | ### Version 2.4.4 27 | * Changed registration form. Note that this is only relevant for new users of the plugin. 28 | 29 | ### Version 2.4.3 30 | * Fixed compatibility with WordPress 3.1 31 | 32 | ### Version 2.4.2 33 | * Removed link back to Kaltura for statistics gathering. 34 | 35 | ### Version 2.4 36 | * Multi-User Support 37 | * New default players 38 | * Option to use custom KMC players within WordPress 39 | * Option to automatically generate video posts using categories from within the user’s KMC 40 | * Improved playback performance 41 | * Removed 200MB per upload restriction 42 | 43 | ### Version 2.3.1 44 | * Fixed PHP4 client throwing warnings when allow_call_time_pass_reference is off 45 | 46 | ### Version 2.3 47 | * Added widescreen support 48 | * Changed video players designs 49 | * Bug fixing and maintenance 50 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/BaseEntryMatchAttribute.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_BaseEntryMatchAttribute extends Kaltura_Client_EnumBase 35 | { 36 | const ADMIN_TAGS = "adminTags"; 37 | const CATEGORIES_IDS = "categoriesIds"; 38 | const CREATOR_ID = "creatorId"; 39 | const DESCRIPTION = "description"; 40 | const GROUP_ID = "groupId"; 41 | const ID = "id"; 42 | const NAME = "name"; 43 | const REFERENCE_ID = "referenceId"; 44 | const REPLACED_ENTRY_ID = "replacedEntryId"; 45 | const REPLACING_ENTRY_ID = "replacingEntryId"; 46 | const SEARCH_TEXT = "searchText"; 47 | const TAGS = "tags"; 48 | const USER_ID = "userId"; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/DataEntryMatchAttribute.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_DataEntryMatchAttribute extends Kaltura_Client_EnumBase 35 | { 36 | const ADMIN_TAGS = "adminTags"; 37 | const CATEGORIES_IDS = "categoriesIds"; 38 | const CREATOR_ID = "creatorId"; 39 | const DESCRIPTION = "description"; 40 | const GROUP_ID = "groupId"; 41 | const ID = "id"; 42 | const NAME = "name"; 43 | const REFERENCE_ID = "referenceId"; 44 | const REPLACED_ENTRY_ID = "replacedEntryId"; 45 | const REPLACING_ENTRY_ID = "replacingEntryId"; 46 | const SEARCH_TEXT = "searchText"; 47 | const TAGS = "tags"; 48 | const USER_ID = "userId"; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/PlaylistMatchAttribute.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_PlaylistMatchAttribute extends Kaltura_Client_EnumBase 35 | { 36 | const ADMIN_TAGS = "adminTags"; 37 | const CATEGORIES_IDS = "categoriesIds"; 38 | const CREATOR_ID = "creatorId"; 39 | const DESCRIPTION = "description"; 40 | const GROUP_ID = "groupId"; 41 | const ID = "id"; 42 | const NAME = "name"; 43 | const REFERENCE_ID = "referenceId"; 44 | const REPLACED_ENTRY_ID = "replacedEntryId"; 45 | const REPLACING_ENTRY_ID = "replacingEntryId"; 46 | const SEARCH_TEXT = "searchText"; 47 | const TAGS = "tags"; 48 | const USER_ID = "userId"; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Type/DynamicObjectSearchItem.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Type_DynamicObjectSearchItem extends Kaltura_Client_Type_SearchOperator 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaDynamicObjectSearchItem'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->field)) 49 | $this->field = (string)$xml->field; 50 | } 51 | /** 52 | * 53 | * 54 | * @var string 55 | */ 56 | public $field = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Quiz/Type/QuizAdvancedFilter.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Quiz_Type_QuizAdvancedFilter extends Kaltura_Client_Type_SearchItem 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaQuizAdvancedFilter'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->isQuiz)) 49 | $this->isQuiz = (int)$xml->isQuiz; 50 | } 51 | /** 52 | * 53 | * 54 | * @var Kaltura_Client_Enum_NullableBoolean 55 | */ 56 | public $isQuiz = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/DocumentEntryMatchAttribute.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_DocumentEntryMatchAttribute extends Kaltura_Client_EnumBase 35 | { 36 | const ADMIN_TAGS = "adminTags"; 37 | const CATEGORIES_IDS = "categoriesIds"; 38 | const CREATOR_ID = "creatorId"; 39 | const DESCRIPTION = "description"; 40 | const GROUP_ID = "groupId"; 41 | const ID = "id"; 42 | const NAME = "name"; 43 | const REFERENCE_ID = "referenceId"; 44 | const REPLACED_ENTRY_ID = "replacedEntryId"; 45 | const REPLACING_ENTRY_ID = "replacingEntryId"; 46 | const SEARCH_TEXT = "searchText"; 47 | const TAGS = "tags"; 48 | const USER_ID = "userId"; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /view/library/media-list.php: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/ClientException.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | /** 30 | * @package Kaltura 31 | * @subpackage Client 32 | */ 33 | class Kaltura_Client_ClientException extends Exception 34 | { 35 | const ERROR_GENERIC = -1; 36 | const ERROR_UNSERIALIZE_FAILED = -2; 37 | const ERROR_FORMAT_NOT_SUPPORTED = -3; 38 | const ERROR_UPLOAD_NOT_SUPPORTED = -4; 39 | const ERROR_CONNECTION_FAILED = -5; 40 | const ERROR_READ_FAILED = -6; 41 | const ERROR_INVALID_PARTNER_ID = -7; 42 | const ERROR_INVALID_OBJECT_TYPE = -8; 43 | const ERROR_INVALID_OBJECT_FIELD = -9; 44 | const ERROR_DOWNLOAD_NOT_SUPPORTED = -10; 45 | const ERROR_DOWNLOAD_IN_MULTIREQUEST = -11; 46 | const ERROR_ACTION_IN_MULTIREQUEST = -12; 47 | const ERROR_INVALID_ENUM_VALUE = -13; 48 | } 49 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Metadata/Enum/MetadataObjectType.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Metadata_Enum_MetadataObjectType extends Kaltura_Client_EnumBase 35 | { 36 | const AD_CUE_POINT = "adCuePointMetadata.AdCuePoint"; 37 | const ANNOTATION = "annotationMetadata.Annotation"; 38 | const CODE_CUE_POINT = "codeCuePointMetadata.CodeCuePoint"; 39 | const ANSWER_CUE_POINT = "quiz.AnswerCuePoint"; 40 | const QUESTION_CUE_POINT = "quiz.QuestionCuePoint"; 41 | const THUMB_CUE_POINT = "thumbCuePointMetadata.thumbCuePoint"; 42 | const ENTRY = "1"; 43 | const CATEGORY = "2"; 44 | const USER = "3"; 45 | const PARTNER = "4"; 46 | const DYNAMIC_OBJECT = "5"; 47 | } 48 | 49 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/WebcamTokenResource.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_WebcamTokenResource extends Kaltura_Client_Type_DataCenterContentResource 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaWebcamTokenResource'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->token)) 49 | $this->token = (string)$xml->token; 50 | } 51 | /** 52 | * Token that returned from media server such as FMS or red5. 53 | * 54 | * @var string 55 | */ 56 | public $token = null; 57 | 58 | 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Enum/MixEntryMatchAttribute.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Enum_MixEntryMatchAttribute extends Kaltura_Client_EnumBase 35 | { 36 | const ADMIN_TAGS = "adminTags"; 37 | const CATEGORIES_IDS = "categoriesIds"; 38 | const CREATOR_ID = "creatorId"; 39 | const DESCRIPTION = "description"; 40 | const DURATION_TYPE = "durationType"; 41 | const GROUP_ID = "groupId"; 42 | const ID = "id"; 43 | const NAME = "name"; 44 | const REFERENCE_ID = "referenceId"; 45 | const REPLACED_ENTRY_ID = "replacedEntryId"; 46 | const REPLACING_ENTRY_ID = "replacingEntryId"; 47 | const SEARCH_TEXT = "searchText"; 48 | const TAGS = "tags"; 49 | const USER_ID = "userId"; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /lib/Kaltura/Client/Type/SearchMatchCondition.php: -------------------------------------------------------------------------------- 1 | . 26 | // 27 | // @ignore 28 | // =================================================================================================== 29 | 30 | /** 31 | * @package Kaltura 32 | * @subpackage Client 33 | */ 34 | class Kaltura_Client_Type_SearchMatchCondition extends Kaltura_Client_Type_SearchCondition 35 | { 36 | public function getKalturaObjectType() 37 | { 38 | return 'KalturaSearchMatchCondition'; 39 | } 40 | 41 | public function __construct(SimpleXMLElement $xml = null) 42 | { 43 | parent::__construct($xml); 44 | 45 | if(is_null($xml)) 46 | return; 47 | 48 | if(count($xml->not)) 49 | { 50 | if(!empty($xml->not)) 51 | $this->not = true; 52 | else 53 | $this->not = false; 54 | } 55 | } 56 | /** 57 | * 58 | * 59 | * @var bool 60 | */ 61 | public $not = null; 62 | 63 | 64 | } 65 | 66 | --------------------------------------------------------------------------------