This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:tvipjsapi:5 [2019/05/14 09:32] Alexander created |
en:tvipjsapi:5 [2020/03/19 11:20] Alexander [void attachExternelSubtitle(String url, String encoding)] |
||
---|---|---|---|
Line 73: | Line 73: | ||
Returns API version. | Returns API version. | ||
+ | \\ \\ | ||
+ | |||
+ | |||
+ | ====String getSoftwareVersion();==== | ||
+ | |||
+ | Returns software version of STB | ||
+ | |||
\\ \\ | \\ \\ | ||
Line 436: | Line 443: | ||
//live// - URL contains live TV-stream (Timeshift and DVR are welcome); | //live// - URL contains live TV-stream (Timeshift and DVR are welcome); | ||
+ | |||
+ | //live_ts// - same as //live//, but for Timeshifted MPEGTS; | ||
Examples: | Examples: | ||
Line 480: | Line 489: | ||
\\ \\ | \\ \\ | ||
- | ====void attachExternelSubtitle(String url, String encoding)==== | + | ====void attachExternalSubtitle(String url, String encoding)==== |
Add subtitles from an external file (from //url//) to currently played media. This method should be called after playUrl. Optional parameter //encoding// sets up character encoding of subtitle file. | Add subtitles from an external file (from //url//) to currently played media. This method should be called after playUrl. Optional parameter //encoding// sets up character encoding of subtitle file. |