diff options
author | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-06-26 17:54:16 -0400 |
---|---|---|
committer | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-06-26 17:54:16 -0400 |
commit | 530f38e60d6289a221a463ba36af2ed22c15d8d2 (patch) | |
tree | e26f8cb27b0d3920196bbe8899650e5dd85e971b /src/client/DocServer.ts | |
parent | b86050edd2da3acca258f117e8350aa8d53272d9 (diff) |
Video Search Sample
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r-- | src/client/DocServer.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts index 9dae54d74..b0060bfdc 100644 --- a/src/client/DocServer.ts +++ b/src/client/DocServer.ts @@ -52,6 +52,10 @@ export namespace DocServer { return apiKey; } + export function getYoutubeVideos() { + Utils.EmitCallback(_socket, MessageStore.YoutubeApiQuery, YoutubeQueryTypes.SearchVideo); + } + export async function GetRefFields(ids: string[]): Promise<{ [id: string]: Opt<RefField> }> { const requestedIds: string[] = []; |