To use Samsung Product API, <script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script> Should be loaded in index.html
To use Samsung Product API,
<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>
Should be loaded in index.html
This module defines the multimedia player functionalities provided by the Tizen Samsung Product API.
Since : 2.3
Product : TV, AV, B2B
Defines a WebApi object instance of the Tizen Samsung Product API. The webapis.avplaystore enables access to AVPlayStore API functionality.
[NoInterfaceObject] interface AVPlayStoreManagerObject { readonly attribute AVPlayStoreManager avplaystore; };
WebApi implements AVPlayStoreManagerObject;
Provides methods for video playback functionalities.
[NoInterfaceObject] interface AVPlayStoreManager { AVPlayManagerObject getPlayer(); };
Creates a player instance that can be used for parallel pre-buffering. Up to 4 player instances can exist simultaneously.
AVPlayManagerObject getPlayer();
Return Value :
Exceptions :
Code Example :
var playerinstance = webapis.avplaystore.getPlayer();
module AVPlayStore { [NoInterfaceObject] interface AVPlayStoreManagerObject { readonly attribute AVPlayStoreManager avplaystore; }; WebApi implements AVPlayStoreManagerObject; [NoInterfaceObject] interface AVPlayStoreManager { AVPlayManagerObject getPlayer(); }; };