Attention all widget authors playing video in their widget!
Now that everyone all platforms worldwide are on Framework 1.2 or higher (see announcement re: Samsung 2009 TVs in Europe), we are now mandating the changeover from KONtx.videoplayer to KONtx.mediaplayer API. There are a number of issues with the older KONtx.videoplayer API and is completely unsupported on some platforms (Vizio specifically at this time). If you have been in contact with us, this should come as no surprise to you, but if you haven't, I apologize this is the first you are hearing of this new API.
To support all platforms using a single codebase, anyone using the KONtx.mediaplayer API needs to include the following patchfile inside their widget. The patch can be obtained from here:
As many of you have already been working on porting to using KONtx.mediaplayer already, this should be the only change needed to support video widgets across all platforms. If you have not started using KONtx.mediaplayer, then you should familiarize yourself with the Media Player API reference guide. If you have any questions, please do not hesitate to post here in the forums or email us at email@example.com.
I'm created own example with that patches and it work properly in Simulator but doesn't want work on Samsung LE32B650. I see only player bar but didn't see any activity. Also i try to use MediaPlayer sample from Visio Simulator but result is the same.
The mediaplayer-control-test-Widget works fine in the konfabulator but will not run on my central-european-styled Samsung L32B650. Through the recommended remote logging I found out that the execution of the widget stopps when the KONtx.mediaplayer.initialize()-Method is called.
In my case Player stops work somewhere in KONtx.mediaplayer.playlist.start() because line after that do not executing.
Also I have some log from TV:
playlist start() was called Creating event payload with additional payload of: firing event of type:onStartPlaylist no listeners for event Fixing to load playlist entry at index: Creating event payload with additional payload of: firing event of type:onLoadPlaylistEntry no listeners for event fixing to play new playlist entry Creating event payload with additional payload of: firing event of type:onProcessPlaylistEntry no listeners for event Creating event payload with additional payload of: firing event of type:onFindBestStream no listeners for event Connection Bitrate: Skipping stream index: Index: Forcing playback on stream index: Creating event payload with additional payload of: firing event of type:onNewStreamSelected no listeners for event
Ok. I missed to copy the file to the TV-Test-widget. But nevertheless it is not working properly on my TV (it's a LE32B650). As vova.leskiv described above the widget gets stuck when the video-control is about to begin playing the video. The exception handler catches the following error: TypeError: internals.tvapi.path has no properties
Note: The widget works fine in the Konfabulator. I can watch videos for hours...
My apologies, I knew you had, but didn't have the other person's. I guess I should have directed my reply at the other person instead of referring to you both. :)Based on your versions and the code sample, this works on the TVs I tested on. It must be something else missing, can you provide a widget ID of a widget you uploaded to the gallery which doesn't work for you?
Based on your versions and the code sample, this works on the TVs I tested on. It must be something else missing, can you provide a widget ID of a widget you uploaded to the gallery which doesn't work for you?
An issue has been identified with the framework (and hence the patch too) which affects 2009 model Samsung TVs occasionally. Some TVs exhibit the issue 100% of the time, others much much less. As such, we have updated the patch file to address this issue.
With the new patch 'patch-pre_fw1.3.27-mediaplayer.js' and after the TV update of August, 5 (message 'Installing updates 4 of 4' on the TV screen) the code posted before works ok in my TV Samsung B651 (eropean model, year 2009)
Thanks a lot to the yahoo tv widgets team and the forum members (are the same?).