Download the PHP package viddler/phpviddler without Composer

On this page you can find all versions of the php package viddler/phpviddler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpviddler

phpViddler API v2 Library http://developers.viddler.com/documentation/

A PHP class for Viddler's API version 2. For more information, visit our developer site

Important!

Please see the new cURL option for TLS1.2 connectivity issues.

Before updating to version 4.2 (or higher), Please note the following:

Due to PHP 5.5.0 deprecating the "@" method of cURL binary transfer in favor of the CURLFile class, viddler.videos.setThumbnail's 'file' parameter must only be the path to the file:

// OLD
$v->viddler_videos_setThumbnail(array(
    'sessionid' => SESSIONID,
    'video_id' => VIDEO_ID,
    'file' => '@./path/to/file.jpg',
    ));
// NEW
$v->viddler_videos_setThumbnail(array(
    'sessionid' => SESSIONID,
    'video_id' => VIDEO_ID,
    'file' => './path/to/file.jpg',
    ));

The wrapper will handle the rest depending on the PHP version installed.

Installation Instructions

  1. Download the most recent version.
  2. Upload phpviddler.php
  3. Include phpviddler.php
  4. Initiate Viddler class like this $v = new Viddler_V2('YOUR API KEY HERE');

Usage

$v = new Viddler_V2('Your API Key');

// Authenticate and get your videos
$auth = $v->viddler_users_auth(array('user'=>'USERNAME','password'=>'PASSWORD'));
if (isset($auth['auth']['sessionid'])) {
  $videos = $v->viddler_videos_getByUser(array('sessionid'=>$auth['auth']['sessionid']));
  print '<pre>';
  print_r($videos);
  print '</pre>';
}

Examples

Included in this repo is an /examples/ directory with a few code examples from uploading, uploading with curl, searching, get your profile and getting your videos.

Embedding

Viddler supports a few different embed codes types. To retrieve a proper embed code, you may want to use: viddler.videos.getEmbedCodeTypes and then grab an embed code with viddler.videos.getEmbedCode

Need help?

Submit a tickethere

Licensing

phpViddler is dual-licensed under the MIT License. The details of this can be found MITlicense.txt

Changelog (started with tag 3.9) - Read overall API changelog here

4.2 - July 18, 2014

4.1 - November 27, 2012

4.0.1 - November 19, 2012

4.0 - July 18, 2012

3.9 - April 26, 2012


All versions of phpviddler with dependencies

PHP Build Version
Package Version
Requires php Version >=5.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package viddler/phpviddler contains the following files

Loading the files please wait ...