jwplayer / jw-showcase-appletv

An Apple TV app builder written in TVJS with support for videos streamed out of the JW Player platform
Other
86 stars 44 forks source link

Adding EPG #25

Open 123mijnwebsite opened 8 years ago

123mijnwebsite commented 8 years ago

Hello!,

I love it! And got everything to work :) Thank you for the good manual.

I know want to place a EPG (TV Guide) to a video (live stream). So when you choose a video and it shows you the description and button to play video I would like to show the EPG of that video/stream. Is this somehow easy to do with JW player? Have you got any tips or tricks how to get this done?

Thank you!

RikHeijdens commented 8 years ago

One way you could do this is by extending the ItemDetail template, you probably want to do something like the following:

123mijnwebsite commented 8 years ago

Thank you for you reply! Also This feed I've got is a .json format. In here there is a collection of all kinds of videos. First it shows the info about the program, time etc. But is it possible to extract the video urls in this feed and put them in a playlist? So all video's will be shown in 1 playlist.

So I got a .json file and want to show all videos in this .json file to show up in 1 playlist. I'm searching for it in Google but can't find anything to get this done.

Thanks again!

josiekeller commented 8 years ago

Yes! You'll need to parse the url, build a regular playlist with media item objects, and feed the media item objects into the player in order to play them.

If you look at the source code under appletv/jwplayer-appletv-web-app/js/PlaylistLoader.js you can modify the xml playlist code to achieve this.

There is also more documentation on the player and playlist objects from Apple developers here

Hope this helps!.

ghost commented 8 years ago

123mijnwebsite... wij zijn ook bezig met het ontwikkelen van een TVOS app op basis van de JW Player maar kunnen nog wel wat extra handjes gebruiken... ook hebben we eventueel wel interesse in je source code daar wij hetzelfde bouwen denk ik...en app met live tv zenders en epg data

mijn email is s.kerstens@telergyhd.com hoop snel van je te horen

johnluther commented 8 years ago

@123mijnwebsite and @telergyhd , very exciting to hear that more people plan to use the code! Forks are great, but we also welcome pull requests to Master. :-)

JL

123mijnwebsite commented 8 years ago

Still working on it... Can't figure out how to add a rss/json feed to show a tv guid (EPG) tips are welcome :)