Abstract
Use of this document is subject to the Yahoo! TV Widget Developer Terms of Use license, located at http://info.yahoo.com/legal/us/yahoo/tvwidget/tvwidget-4251.html.
This document provides the release notes for the latest version of the Yahoo! Widget Engine TV Widgets Widget Development Kit (YWE-WDK). For the latest information on TV Widgets, see the Yahoo! Connected TV Forums.
For more information please review the documentation available on the Yahoo! Developer Network.
YWE-WDK v1.2
Release Date: January 2011
You should not attempt to update the development environment. System updates for this VM have been disabled to prevent support issues with Ubuntu 10.04 configurations that have not been tested by Yahoo! Connected TV.
ubuntu_10.04_ctv.vmdk file directly. If you are using VirtualBox and have previously installed VMware Fusion, you need to right-click on the package
folder and select Show Package Contents and then move the .vmdk file to a new location before use.
$HOME/TVWidgets/Konfabulator-XXX/TV directory.
In this version of the YWE-WDK, essential scripts are executed when you exit from the Simulator after your first run, and
again after updates occur. If you exit the Simulator incorrectly, the exit scripts do not execute,
and you will not be able to restart the Simulator. These scripts copy several files into the $HOME/TVWidgets/Konfabulator-XXX/TV directory and may take several seconds to run.
Exiting the Yahoo! TV Simulator Properly
You must use the following method to exit the Yahoo! TV Simulator.
a. First, be sure that the Yahoo! TV Simulator window has focus (and not the Simulator Console's Terminal window).
b. Press the ESC key on your computer keyboard, or click on the standard close button (x) in the Yahoo! TV Simulator's title bar, as shown in the upper left corner of the window below:
c. When the exit script has completed successfully, a dialog box displays: Simulator has exited. Press OK to close Terminal, as seen below:
d. Finally, click the OK button in the dialog box to close the Simulator Console's Terminal window.
Clearing the Improper Exit Error
If you exit the Simulator Console's Terminal window without first properly closing the Yahoo! TV Simulator window, you may see the following error message each time you attempt to restart the Simulator:
![]() |
To clear the error above and restart the Simulator, follow these steps:
a. Delete the directory that corresponds to the Simulator displaying the error.
rm -rf $HOME/TVWidgets/Konfabulator-XXX
b. Start the Simulator using the corresponding TV Widgets→XXX→XXX Simulator menu item.
c. Wait for the Simulator to completely load, and for all updates to finish, which may take up to 45 seconds.
d. Make sure the Yahoo! TV Simulator window has focus, and press the ESC key on your keyboard, or click on the standard close button (x) in the title bar.
e. The exit script runs, and after several seconds, a dialog box with the following text appears: Simulator has exited. Press OK to close Terminal.
f. Press the OK button in the dialog box to close the Simulator Console's Terminal window.
g.You can now start the Simulator without the recurring error.
h. If you continue to see the error, review the files in the Simulator's
TVdirectory. If you do not see the files listed below, repeat this process from the first step above: "a. Delete the directory...". Type these commands to review the files:cd $HOME/TVWidgets/Konfabulator-XXX/TV
find .Check for the following files:
video_skip_frames to 8 improves CPU performance but degrades video playback by playing only 1 out of 9 frames. If CPU performance is not an issue,
this value can be decreased for smoother video playback.
See the section Edit the Simulator Settings to learn more about these environment variables.
Use the method getDefaultViewportBounds() to get a viewport bounds object for the device.
The current default viewport bounds for all device partners have the (x,y) position at (0,0) and set the width and height
of the viewport to 1920 x 1080.
These values are subject to change as new device platforms are added. Always check the viewport bounds for proper values.
To set the default viewport configuration for the media player, use the following call in your updateView() method before playing video as
shown in the MediaPlayerSample widget in $HOME/TVWidgets/Konfabulator-Latest/TV/Widgets:
The default viewport will stretch 4:3 content during playback on some devices. The video playback on the Simulator is not intended to be an indicator of the video playback on the Connected TV device. If you want to configure the aspect ratio of video playback for 4:3 content without stretching you can set the viewport properties as follows: