Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

benjaminramey/jquery-brightcoveMediaAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

 jQuery Brightcove Media API Wrapper
 Ben Ramey <[email protected]>

 Refer to Brightcove's Media API documentation for
 available methods, parameters for those methods and
 return values
 http//:docs.brightcove.com/en/media

 Examples:

  initialize the api (must be done before any API call):
      $.bcMediaAPI("init", { token: "..." });
      OR
      $.bcMediaAPI({ token: "..." });
  
  call an API method with no parameters:
      $.bcMediaAPI("find_all_videos", function(result) { ...do something... });
  call an API method with parameters:
      $.bcMediaAPI("find_video_by_id", { video_id = '123123121' }, function(result) { ...do something... });

 API extensions:
 
  video_exists:
      description: returns true or false depending on whether the specified video exists or not
      parameters:
          options: same as for "search_videos" API call
          callback: callback function to handle result of query

About

Simple wrapper for Brightcove Media API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published