Secure video hosting using MovingImage24.de

MovingImage24.de is a video asset management system which enables the VideoManager to link up with other content management, product, information or media and digital asset management systems.

The functions of the VideoManager can be diversely applied and integrated using API (SOAP and REST) for instance in content management systems.

Key features:

  1. The uploaded video file is converted into different formats and those are available for downloading
  2. Uploaded video can be updated with addtional information like category, metadata etc.
  3. Individual rights can be assigned to the files. 

Integration:

  1. SOAP API
    To start with authentication, you need the following details:  
    I] Developer-key
    II] Client-key 
    III] API-key

    You will get the Developer key and API Key from Moving Image24 customer service.
    The Client-key is not currently relevant, as it is used only for 
    statistical analysis.
    An example script in PHP:
    <?php

    class auth {
    public $api_key = '4893-2aa2-d50c-5216-Kjp4-b2f7-9e36-9fab';
    public $client_key = 'test';
    public $developer_key = '493a-d7d9-9c97-b87W-5kb4-b2f7-9e36-af54';
    }

    $auth = new auth();
    $client = new Zend_Soap_Client('http://api.edge-cdn.net/soap/0.3/webservice.wsdl');
    $header = new SoapHeader('http://schemas.xmlsoap.org/ws/2002/07/utility', auth, $auth);
    $client->addSoapInputHeader($header, true);
    print_r($client->debug_return_request('Hallo Welt'));

    ?>

    To achieve a usable object, use the get_video_list_parameter_object() function. It returns  the needed structure to you, so you can use this instead of building your own structure. If you pass this object unchanged, you get a list of the first ten public videos in the video database.

    Call:  $list = get_video_list($soap_datatype_videolist_parameter);

    Video upload:
    The procedure for uploading a video is as follows:
    1. First, you need an upload token. Use the function generate_upload_token(). 
    2. You receive an upload-token (token) to continue.
    3. With the token, you can ask for an upload-URL (You could also build it your own). 
    4. Call the function generate_upload_url_from_token($token). 
    5. Send your video via HTTP(s) to this URL.
    6. After a successful upload, you are able to configure the video in the manager.
    7. To continue working on the video, you need the Video-ID.
    8. Obtain it with the function get_video_id_for_upload_token($token).
    9. With the Video-ID you can continue now. 
    10. Use get_video_object($id) to receive the video-data.
      You can also create diffrent player skin and player code for videos.

  2. JavaScript-API
    The JavaScript interface is available to external developers to integrate applications
    with the MovingIMAGE24 videoplayer.

  3. Updating/ Processing video data:
    You can update video data by calling  get_video_revise_object($videoId) with video id so that you can configure video parameters the way you want
    $video = get_video_revise_object($videoId);
    and then you can set the parameters of video like category, status and then call revise_video($video); to update the video on MI24.

    Embed a single video like:
    <!--Player--> 
    <div style="width:512px">
    <div id="mijsvdiv21144"></div>
    <div> 
    <script type="text/javascript" src="http://movingimage24.de/videojs_135726?player=v3"></script>
    </div>
    </div>
    Embed multiple videos like:
    <!--Player--> 
    <div style="width:512px">
    <div id="mijsvdiv[videoID]"></div>
    <div> 
      <script type="text/javascript" src="http://movingimage24.de/videojs_[videoID]?jsdiv=mijsvdiv[videoID]?player=v3"></script>
    </div>
    </div>
    Possible status-events sent by the videoplayer are:
    STATUS_PLAY (videoplayer started to play a video) 
    STATUS_STOP (videoplayer is stopped) 
    STATUS_PAUSE (video is paused) 
    STATUS_ENDED (current video was fully played)
    To control the videoplayer (multiple videos) you can call functions like:
    mi24player_[videoID].play(); 
    mi24player_[videoID].play(seektime_in_seconds); 
    mi24player_[videoID].pause(); 
    mi24player_[videoID].stop();

    A showcase of using the JAVAScript-API with single video you can find here: 
    http://www.MovingIMAGE24.de/jsapi/JSAPIDemo.html

    A showcase of using the JAVAScript-API with multiple videos you can find here: 
    http://www.MovingIMAGE24.de/jsapi/new_js_api.html

Copyright © 2017 Lelesys Informatik GmbH, Deutschland. All Rights Reserved.