I need an API feature

Added by gordon-- * over 4 years ago

Hi,

i've actually done a nice plugin, but theres one thing that would be useful:
The videos played by the plugin are seperated in three parts, so it would be nice to give showtime the three video urls to play them in a row.

Sorry for my bad english ;)


Replies (6)

RE: I need an API feature - Added by Leonid Protasov almost 4 years ago

gordon-- * wrote:

Hi,

i've actually done a nice plugin, but theres one thing that would be useful:
The videos played by the plugin are seperated in three parts, so it would be nice to give showtime the three video urls to play them in a row.

Sorry for my bad english ;)

Add three items and use continious play...

RE: I need an API feature - Added by gordon-- * over 3 years ago

Hi,

thanks for reply. Can you explain it a little? I don't really know how this works. I add the three video parts as discribed on the wiki (https://showtimemediacenter.com/projects/showtime/wiki/JSAPI_play_video) to a list, how do i play them continious? Thats not discribed in the wiki (at least i can't find it)

RE: I need an API feature - Added by Leonid Protasov over 3 years ago

I latest bleeding edge versions Showtime automatically plays items continiously. Take a look at different plugins at canonicalURL.

RE: I need an API feature - Added by doboto duan over 3 years ago

Hello, Does anyone has the solution, I meet the same problem, does anyone give the sample code? thanks!

RE: I need an API feature - Added by Leonid Protasov over 3 years ago

doboto duan wrote:

Hello, Does anyone has the solution, I meet the same problem, does anyone give the sample code? thanks!

Settings->Video playback->Automatically play next video in list: Yes

Or take a look at: https://showtimemediacenter.com/projects/showtime/wiki/JSAPI_play_video

RE: I need an API feature - Added by doboto duan over 3 years ago

thanks for your reply!
what i need is not the playlist, playlist is not a goog way to solve the problem!
1: there will be a black screen between two video in the playlist, and can't be played back in all the video in playlist!
2: in internet, it is very common to split a movie into several segment file to store on server, like hls, but the format can be flv, mp4 etc, in this case, showtime will be able to play all the segment file as a whole movie! in this way, a user can give the url by this format "http://host/1.flv|http://host/2.flv|http://host/3.flv"(suggest)

(1-6/6)