Difference between revisions of "Tizen Player"

From MSX - Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
! Property !! Value !! Example !! Tizen Function || Dynamic || Since Version || class="unsortable" | Description  
 
! Property !! Value !! Example !! Tizen Function || Dynamic || Since Version || class="unsortable" | Description  
 
|-
 
|-
| <code>tizen:buffer:size</code> || <code>{SECONDS}</code> || <code>"tizen:buffer:size":"20"</code> || <code>void setBufferingParam("PLAYER_BUFFER_FOR_PLAY", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code><br/><code>void setBufferingParam("PLAYER_BUFFER_FOR_RESUME", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code> || No || data-sort-value=128|'''0.1.128'''
+
| <code>tizen:buffer:size</code> || <code>{SECONDS}</code> || <code>"tizen:buffer:size":"10"</code> || <code>void setBufferingParam("PLAYER_BUFFER_FOR_PLAY", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code><br/><code>void setBufferingParam("PLAYER_BUFFER_FOR_RESUME", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code> || No || data-sort-value=128|'''0.1.128'''
 +
| Todo
 +
|-
 +
| <code>tizen:buffer:size:init</code> || <code>{SECONDS}</code> || <code>"tizen:buffer:size:init":"10"</code> || <code>setBufferingParam("PLAYER_BUFFER_FOR_PLAY", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code> || No || data-sort-value=128|'''0.1.128'''
 +
| Todo
 +
|-
 +
| <code>tizen:buffer:size:resume</code> || <code>{SECONDS}</code> || <code>"tizen:buffer:size:resume":"10"</code> || <code>setBufferingParam("PLAYER_BUFFER_FOR_RESUME", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});</code> || No || data-sort-value=128|'''0.1.128'''
 +
| Todo
 +
|-
 +
| <code>tizen:buffer:timeout</code> || <code>{SECONDS}</code> || <code>"tizen:buffer:timeout":"20"</code> || <code>setTimeoutForBuffering({SECONDS});</code> || No || data-sort-value=128|'''0.1.128'''
 
| Todo
 
| Todo
 
|}
 
|}

Revision as of 15:14, 9 February 2021

The Tizen player is the default player for Samsung TVs (2016+ models) that uses the Media Station X version 0.1.128 or higher. It works like a plugin and can be configured via the extended properties of a content item. Please see Extended Properties for more information. Additionally, you can interact with it using the player:commit actions. Some extended properties are dynamic and can be changed via an action at runtime.

All extended properties are mapped to a corresponding Tizen (i.e. AVPlay) function. For more information, please visit: https://developer.samsung.com/smarttv/develop/api-references/samsung-product-api-references/avplay-api.html

Syntax[edit]

Property syntax of extended properties for HTML5X plugin
Property Value Example Tizen Function Dynamic Since Version Description
tizen:buffer:size {SECONDS} "tizen:buffer:size":"10" void setBufferingParam("PLAYER_BUFFER_FOR_PLAY", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});
void setBufferingParam("PLAYER_BUFFER_FOR_RESUME", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS});
No 0.1.128 Todo
tizen:buffer:size:init {SECONDS} "tizen:buffer:size:init":"10" setBufferingParam("PLAYER_BUFFER_FOR_PLAY", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS}); No 0.1.128 Todo
tizen:buffer:size:resume {SECONDS} "tizen:buffer:size:resume":"10" setBufferingParam("PLAYER_BUFFER_FOR_RESUME", "PLAYER_BUFFER_SIZE_IN_SECOND", {SECONDS}); No 0.1.128 Todo
tizen:buffer:timeout {SECONDS} "tizen:buffer:timeout":"20" setTimeoutForBuffering({SECONDS}); No 0.1.128 Todo