From d792427ce113637f127fb6bc2d92417c668882ce Mon Sep 17 00:00:00 2001 From: Andrea Cresta Date: Tue, 14 Feb 2017 03:38:02 +0100 Subject: [PATCH] Added onTimedMetadata callback for iOS player and Exoplayer (#487) * added listener for timedMetadata event. * added callback in RCTVideo for the timed metadata * exposing onTimedMetadata to JS * added forgotten method declaration * returning array of string values * added metadata type to the array * added onMetadata method * overridden onMetadata method on exoplayer2 * added format of return value from onMetadata * added function reference in README file --- README.md | 33 +++++++------- Video.js | 8 ++++ .../brentvatne/exoplayer/ExoPlayerView.java | 11 ++++- .../exoplayer/ReactExoplayerView.java | 14 +++++- .../exoplayer/VideoEventEmitter.java | 43 +++++++++++++++++++ ios/RCTVideo.h | 1 + ios/RCTVideo.m | 31 +++++++++++++ ios/RCTVideoManager.m | 1 + 8 files changed, 124 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 0a84472a..9248a600 100644 --- a/README.md +++ b/README.md @@ -135,22 +135,23 @@ using System.Collections.Generic;