This repository was archived by the owner on Jun 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
benjaminramey/jquery-brightcoveMediaAPI
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
jQuery Brightcove Media API Wrapper
Ben Ramey <ben.ramey@gmail.com>
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 0
No packages published