Working on a video on demand (VOD) app for Samsung Smart TV using the 2.5 SDK, I have pretty much all the functionally working.
The app should runs overlayed on live program but the screen is black (no source) then I select video, player loads and the video turns on and also when I exit the app the source gets lost... in my config.xml I have the following
fullwidget itemtype="boolean" = y
movie itemtype="string" = y
srcctl itemtype="boolean" = y
in addition to that i'm calling plugin.Stop() on onUnload
Has anyone else experienced this issue and, if so, did you manage to fix it?
PS: when srcctl = n the source comes up on the initial load but the vod loads with no audio and only source audio when exit the app source gets lost all together.
check the code shown below:
Main.onUnload = function(){
Player.deinit();
}
Player.deinit = function(){
if (this.plugin)
{
this.plugin.Stop();
}
}
The app should runs overlayed on live program but the screen is black
So if you hear the source sound and screen is black you probably need to check if your body background is set to transparent as video and source in Samsung is played under the document body.
And when you switch between source stream and VOD you probably need to change the PL_WINDOW_SOURCE parameter. Check my older answer about it: