en:tvipjsapi:5
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:tvipjsapi:5 [2019/11/12 10:54] – [void playUrl (String url, String mode);] Alexander | en:tvipjsapi:5 [2020/12/02 08:44] (current) – Alexander | ||
|---|---|---|---|
| Line 73: | Line 73: | ||
| Returns API version. | Returns API version. | ||
| + | \\ \\ | ||
| + | |||
| + | |||
| + | ====String getSoftwareVersion(); | ||
| + | |||
| + | Returns software version of STB | ||
| + | |||
| \\ \\ | \\ \\ | ||
| Line 428: | Line 435: | ||
| ====void playUrl (String url, String mode);==== | ====void playUrl (String url, String mode);==== | ||
| + | ====void playUrl (String url, Object options); | ||
| Starts playback defined URL(local path also welcome). | Starts playback defined URL(local path also welcome). | ||
| Line 445: | Line 453: | ||
| playUrl (" | playUrl (" | ||
| </ | </ | ||
| + | |||
| + | Advanced options could be set up with //options// object: | ||
| + | < | ||
| + | playUrl(" | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ); | ||
| + | </ | ||
| + | Possible options:\\ | ||
| + | //mode// - same as above.\\ | ||
| + | // | ||
| + | // | ||
| + | // | ||
| + | // | ||
| + | // | ||
| + | |||
| \\ \\ | \\ \\ | ||
| Line 482: | Line 509: | ||
| \\ \\ | \\ \\ | ||
| - | ====void | + | ====void |
| Add subtitles from an external file (from //url//) to currently played media. This method should be called after playUrl. Optional parameter // | Add subtitles from an external file (from //url//) to currently played media. This method should be called after playUrl. Optional parameter // | ||
en/tvipjsapi/5.1573556082.txt.gz · Last modified: by Alexander
