HELIX MEDIA LIBRARY API DEVELOPER S GUIDE



Similar documents
JW Player Quick Start Guide

Best Practice Guide for constructing a study area in studentcentral which is designed for friendly viewing in Blackboard Mobile Learn

Kaltura Extension for SharePoint User Manual. Version: Eagle

Learning Management System

Personal Cloud. Support Guide for Mac Computers. Storing and sharing your content 2

Version 3.3 Content Administrator Guide

Note Google and YouTube may change the appearance of their sites from time to time, so the buttons or links may not always appear in the same place.

JW Player for Flash and HTML5

Iceberg Commerce Video Gallery Extension 2.0 For Magento Version 1.3, 1.4, 1.5, 1,6

GUIDE. Give PowerPoint a Voice: Developing. Narrated Presentations on a Windows PC. Donna Carnduff. dcarnduf@utk.edu.

Instructions for creating a survey using Survey Gizmo

Adding Links to Resources

RAMP for SharePoint Online Guide

Creating Codes with Spreadsheet Upload

Blackboard Mobile Learn: Best Practices for Making Online Courses Mobile-Friendly

How to Embed Video from a DVEO Stream on a Website

Document OwnCloud Collaboration Server (DOCS) User Manual. How to Access Document Storage

LifeSize UVC Video Center Deployment Guide

MAGENTO THEME SHOE STORE

Table of Contents. Overview Supported Platforms Demos/Downloads Known Issues Note Included Files...

WatchDox Administrator's Guide. Application Version 3.7.5

Contents. Getting Set Up Contents 2

Mahara: MyPortfolio. Create content Build pages Share. A user guide for beginners. What is Mahara?

BT MEDIA JOOMLA COMPONENT

How to Enable the Persistent Player

Technology in the Classroom Kidblog kidblog.org

ViSH User Manual. ViSH is a social network for teachers and scientist to meet and collaborate in the science teaching.

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 1

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Quick Start Guide Mobile Entrée 4

LiveStreamingCDN Producer User s Guide

How To Create A Site In Sharepoint 2013

NUVision Media Library and Upload Service

Personal Cloud. Support Guide for Mobile Apple Devices

Drobo How-To Guide. Drobo Apps - Configuring Plex Media Server. Topics. What You Will Need. Prerequisites

What's New in Sametime 8.5. Roberto Chiabra IBM Certified IT Specialist

Personal Cloud. Support Guide for Windows Mobile Devices

Chapter 22: Integrating Flex applications with portal servers

Portals and Hosted Files

July 2014

Slide.Show Quick Start Guide

UT Video Conferencing Update Notes

Ad Specifications and Guidelines

OCS Training Workshop LAB13. Ethernet FTP and HTTP servers

Using the owncloud Android App

3PlayMedia. Closed Captioning, Transcription, and Subtitling

Carroll Hospital Center

Index. Page 1. Index

Table of Contents. Creating a Newsletter. Loading a Video or Slideshow. Distributing a Newsletter through Exact Target

Administrator s Guide for the Polycom Video Control Application (VCA)

Logging In From your Web browser, enter the GLOBE URL:

Best Practices for Mobile Friendly Courses

If you want to upload media files to Moodle, please refer to the alternative documentation in Moodle help How to add video and audio in Moodle

Sage CRM. Sage CRM 7.3 Mobile Guide

Ingeniux 8 CMS Web Management System ICIT Technology Training and Advancement (training@uww.edu)

Last modified: November 22, 2013 This manual was updated for the TeamDrive Android client version

Vizit 4.1 Installation Guide

SelectSurvey.NET Basic Training Class 1

Weston Public Schools Virtual Desktop Access Instructions

HELIX MEDIA LIBRARY INSTALL GUIDE FOR WINDOWS SERVER 2003 Helix Media Library Version 1.1. Revision Date: July 2011

ITP 101 Project 3 - Dreamweaver

Getting Started Guide. New Meeting Experience April 13, 2013

Drop Shipping. Contents. Overview 2. Quick Tips 3. Basic Setup 4. Drop Ship Options 5. File Pickup Options 6. Messages 8

Taylor & Francis Online Mobile FAQs

Contractor Training Management, Online. Induction and Automated Compliance

HDVideoShare! User Documentation Team January

Zeenov Agora High Level Architecture

Configuring. Moodle. Chapter 82

Version Client Setup Guide

DroboAccess User Manual

Website Editor User Guide

Content Management System User Guide

01. Introduction of Android

Zoom Video Conferencing

Getting Started With Blackboard Learn 9.1

FLIP PDF FOR MAC. Create your flipping book from PDF files on Mac

May 09, Creating live broadcast with Kaltura Complete guide

HOME PAGE. Quick Start Guide. Here s how to navigate the Films On Demand home page you first see when you log in.

PARK UNIVERSITY. Information Technology Services. VDI In-A-Box Virtual Desktop. Version 1.1

Mobile Devices and API. Alex Solonenko, Director of SD Pascal Laumet, Director of Product Development

IMPLEMENTING DIRECTORY SERVICES INTEGRATION WITH HELIX MEDIA LIBRARY Revision Date: September 2014

TV and Radio Programmes via BoB:

Xuan (The STACK Box) Application Development. Xuan (The STACK Box) Application Development

Frequently Asked Questions Mindful Schools Online Courses. Logging In Navigation s & Forums Tracking My Work Files...

CDyWeb Content Management System (CCMS) V3.3. User Manual

Pay with Amazon Integration Guide

Blackboard 9.1 Basic Instructor Manual

BLACKBOARD CONTENT COLLECTION FACULTY TRAINING GUIDE

Echo360 Personal Capture

What is NAS? Why NAS? Brief Introduction to Synology NAS

Audio and Web Conferencing

Getting Started Guide. January 19, 2014

Transcription:

HELIX MEDIA LIBRARY API DEVELOPER S GUIDE Helix Media Library Version 2.0 Revision Date: August 2015

1. Helix Media Library API 1.1 Overview The Helix Media Library (HML) API (Application Programming Interface) is an extension to the Helix Media Library that allows 3rd parties to communicate with the library in a secure and formal manner. The API consists of a SOAP based web service architecture. The API can be consumed by any 3rd Party that can build a soap reference from a Wsdl. 1.2 How to administrate the API through the GUI The HML includes a page that can be used to administrate the API. This includes: Turning the API On or Off Adding a list of allowed IP Ranges to the API 1.2.1 Turning the API On or Off Log into the Upload site of the software using the hmladmin user. Navigate to the Settings Page Click API at the bottom on the left hand side Click Enabled Click Save You will see the message Your changes have been saved successfully.. Congratulations you have now enabled the API, only applications with enabled IP address (below) will be allowed to call the API. 1.2.2 Adding a list of allowed IP ranges to the API Log into the Upload site of the HML using the hmladmin user. Navigate to the Settings Page Click API at the bottom on the left hand side Add your IP address to the first empty row in the From column.. If it s just one IP address then add the same IP in the To column. If it s a range then add the last IP address in the range instead. Click the Enable checkbox if you want to enable this range immediately. Click Save You will see the message Your changes have been saved successfully.. Congratulations you have now enabled an IP address, only applications with this IP address will be allowed to call the API. The page should look something like this.

1.3 Testing a connection to the API 1.3.1 Viewing the WSDL The API WSDL (Web Service Definition Language) is a metadata file that describes the format of the SOAP packets that must be passed between Server (HML API) and Client (3rd Party calling application). The file is located on the Upload site of HML. In order to view it navigate to: <Upload Site Base Url> + /Api/api/hmlapi.svc?wsdl 1.3.2 Connecting the Test Harness Download the test harness from http://pam.medialibrary.com/installers/hml- API/TestApi.zip Unzip it to the required location (where you want to test a connection from [possibly a development server]). Open the file named Test_Api.exe.config and change the value for endpoint address on line 23 to: <Upload Site Base Url> + /Api/api/hmlapi.svc/soap For example: http://upload.videolibraryserver.com/api/hmlapi.svc/soap

Save the file and close it. Now run the file called Test_Api.exe you will see a screen in the format: Congratulations you have now successfully connected a client to the HML API! 1.4 What calls can be made to the API? GetMediaListing(int mediaid) returns MediaListing GetSecureMediaListing(int mediaid, string ipaddress) returns SecureMediaListing SearchMedia(string keywords, int categoryid, string contributor, string filename) returns Array of MediaListing GetAllCategories() returns Array of Category The full details of the objects returned by each call can be seen by viewing the WSDL document.

2. The API security Model 2.1 What media is returned to a calling application? When a client connects to the API it does so under the context of the hmladmin user. For this reason all calls made will have full privileges and be able to see a top down view of all media within the library. Media can be searched on by Category but it is up to the calling application to decide which media to call and return to its users. 2.2 Can the API use session manager features? Yes, the 3rd party can make 2 types of calls to the API when it is requesting media. One of them includes a Token with each media item. This token then needs to be put into the URL section of embed code when the media is provided to the user. This will then be sent to the Streaming server, where it will re-connect to the HML and check to make sure that the token is active. 3. Media Embed Code

3.1 Introduction to Embed Code In terms of embed code for the Media, HML uses the JW Player from http://www.longtailvideo.com This is used as it provides the ability to failover from Flash to HTML5 so that HML can support Smartphones, Tablets etc as well as PC s and Mac s. Below is some sample HTML code populated with values that match with the variables within the HML URL references page below: 3.2 Embed Code Examples: 3.2.1 Video Embed Code Sample <script type='text/javascript' src='http://front End URL/jwplayer.js'></script> <div id='mediaplayer'></div> <script type="text/javascript"> jwplayer('mediaplayer').setup({ 'id': 'playerid', 'width': '320', 'height': '270', 'provider': 'rtmp', 'streamer': 'rtmp://flash URL Prefix/', 'file': '12345678_hi.mp4', 'image': 'http://front End URL/thumbnails/12345678.jpg', 'modes': [ {type: 'flash', src: 'http://front End URL/player58.swf', { type: 'html5', config: { 'file': 'http://flash URL Prefix/12345678_hi.mp4', 'provider': 'video'

, { type: 'download', config: { 'file': 'http://flash URL Prefix/12345678_hi.mp4', 'provider': 'video' ] ); </script> 3.2.2 Audio Embed Code Example <script type='text/javascript' src='http://front End URL/jwplayer.js'></script> <div id='mediaplayer'></div> <script type="text/javascript"> jwplayer('mediaplayer').setup({ 'id': 'playerid', 'width': '320', 'height': '270', 'file': 'http://flash URL Prefix/12345678_hi.mp3', 'image': 'http://front End URL/thumbnails/12345678.jpg', 'modes': [ {type: 'flash', src: 'http://front End URL/player58.swf', { type: 'html5', config: { 'file': 'http://flash URL Prefix/12345678_hi.mp3', 'provider': 'video', { type: 'download', config: { 'file': 'http://flash URL Prefix/12345678_hi.mp3', 'provider': 'video' ] ); </script> 4. Use of HML API and Embed Code Since the HML API exposes media information such as title, description, category and thumbnail URL most integrations concentrate on making the HML content repository searchable from within a third party application with the ability to one-click embed once an item has been selected.

5. Example integrations 5.1 Helix Media Library Moodle Plugin: The Helix Media Library repository plugin for Moodle 2.x allows a Helix Media Library content repository to be searched from within Moodle. This means that streaming video and audio content hosted on the Helix video streaming Server can also be easily embedded with a couple of clicks without any technical knowledge. It works in a very similar fashion to the YouTube file picker, the difference being that the content is securely hosted on your own Helix Server. Since content is hosted on your own streaming server, the issues with hosting video and audio on Moodle itself are avoided and content is streamed back to the end user using the appropriate streaming technology. The Category Association Editor function within the repository plugin also allows for content exclusion from the search by pairing Moodle categories with Helix Media Library categories. Embedded Content can be played back on PC, Mac, iphone, ipad and Android! Download Details: http://moodle.org/plugins/view.php?plugin=repository_helix_media_lib Documentation: http://www.helixmedialibrary.net/docs/hml-2_0-moodle-module.pdf 5.2 Helix Media Library Blackboard Building Block: Content Mashup allowing teachers to easily search for and embed video and audio content from their Helix Media Library content repository in course pages. Content is stored securely on the institution's Helix Server and exclusion of content from search is also possible by Course ID. Download Details: http://www.blackboard.com/partnerships/extensions.aspx (search for Helix Media Library ) Documentation: http://www.helixmedialibrary.net/docs/hml-2_0-blackboard-building- Block.pdf