0

video resizing problems

Hello

Has anyone else sucessfully resized video playback on fullscreen view to exact dimensions???

Im using the Kontx.mediaplayer and according to the guide resizing should be able to be done using the following..

CODE
_resetViewport: function() {

var bounds = {
x: 820,
y: 100,
width: 880,
height: 860

};

KONtx.mediaplayer.setViewportBounds(bounds);


I have a background image that I want to be displayed, so I have a background image to display with a transparent part cut out.

This is according to the guidelines that the video lies behind the background image.

Problem I have is that Im trying to make the video to exactly fit through the transparent part but it never quite works correctly. For example if I shift the y part 5 pixels up I expect the vertical off set to move 5 pixels but it behaves weirdly and doesnt seem to resize properly???!!??

Anyone help??

by
4 Replies
  • http://developer.yahoo.net/forum/index.php?showtopic=7257

    Also, check out the last bit of the Video Support video at http://connectedtv.yahoo.com/developer/

    Basically, for OEMs that support resizing the viewport, you'll need to double your x/y coords since the wdk's resolution is 960x540 but the tv's video plane is 1920x1080.

    - Ben
    0
  • QUOTE (Benjamin Toll @ Jan 14 2011, 03:41 PM) <{POST_SNAPBACK}>
    http://developer.yahoo.net/forum/index.php?showtopic=7257

    Also, check out the last bit of the Video Support video at http://connectedtv.yahoo.com/developer/

    Basically, for OEMs that support resizing the viewport, you'll need to double your x/y coords since the wdk's resolution is 960x540 but the tv's video plane is 1920x1080.

    - Ben


    Ive checked everyything. Im testting on a samsung 2009 which should support video resizing but its misbehaving..??..
    0
  • sorry To clarify . The problem seems to be the y offset. What ever I put in it seems to stick the video at the top any ideas??

    How can I raise this as an issue..it is preventing us on updating our live widget
    0
  • QUOTE (Teletext @ Jan 16 2011, 09:16 AM) <{POST_SNAPBACK}>
    sorry To clarify . The problem seems to be the y offset. What ever I put in it seems to stick the video at the top any ideas??

    How can I raise this as an issue..it is preventing us on updating our live widget

    Sorry for the delay. YouTube is deployed on 2009 Samsungs, and we resize the viewport in that widget. If there were issues it would have been raised long ago.

    If you'd like, you can send me your widget at tvwidgets [at] yahoo-inc [dot] com, and I can give it a quick look.

    - Ben
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets