0

I do this (read timed metadata) successfully in HTML5 mode on IOS devices with JW Player no problem. But PC's running Flash have me scratching my head a bit. Some background...

I create live synchronized presentations on the web. So a slide deck sits next to a video player on the screen. When a presenter in the video player says "go to slide 2" the slides switch to slide 2.

This happens because I have another app, a Flash based PowerPoint for lack of a better way to put it. This Flash based PowerPoint app is capable of making an RTMP connection to an RTMP streaming server, like Wowza or AMS, and asking it to find a video stream being published currently and inject metadata into it, like "slide 2" for example, with each slide advance. When this data is injected into the video stream, the stream transports the data to the video player at the viewing end where the data is extracted and acted upon by me, the player developer. I hear the text data message and tell the slide player in the page to advance.

As I mentioned, I am doing this just fine with JW player in HTML5 (IOS) mode. All working well. So if you are viewing on an iPad all is good. But I'm not sure how to extract this data in JW player when it is in Flash mode on a PC. I don't see anything exposed in the API that might, say, let me hang an event listener for "onTextData" or "onCuePoint" type transmissions. Any other methods to accomplish this?

4

1 回答 1

0

JW Player 7 有 .on('meta'),可以在 Flash 中用于此目的。在 JW Player 7.3(尚未发布)中,它还会为您提供 iOS 上的元数据。

https://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference#metadata

于 2016-02-18T17:58:50.037 回答