diff --git a/jquery.brightcove-video.js b/jquery.brightcove-video.js index ccb23a9..65563ce 100644 --- a/jquery.brightcove-video.js +++ b/jquery.brightcove-video.js @@ -314,6 +314,18 @@ var } ); }, + /** + * Load the brightcove video with brightcove ID. + * + * @param {string} The brightcove ID + */ + loadVideoByID: function ( ID ) { + return this.each(function () { + $(this).data("brightcoveVideo").videoPlayer + .loadVideoByID( ID ); + }); + }, + /** * Seeks to a specified time position in the video. *