WebDevStream: web development, Smart TV engineering, AI workflows and practical product notes.

Back to blog Samsung Smart TV

[Youtube Video] Samsung Smart TV Development Tutorial 05: Resizing and Controlling the TV Window with the Web API

July 14, 2026 2 min read YouTube video
Samsung Smart TV Development Tutorial 05: Resizing and Controlling the TV Window with the Web API

The Samsung Smart TV Web API gives developers fine-grained control over the TV window — including the ability to resize it, redirect TV input to a custom location, and manage window visibility programmatically.

What This Tutorial Covers

This fifth installment in the Samsung Smart TV development tutorial series dives into TV window management using the Samsung Smart TV Web API. The tutorial demonstrates how to resize the TV screen to a custom location, redirect TV input to that location, retrieve TV window information programmatically, and control the visibility of TV window frames.

Resizing the TV Screen to a Custom Location

One of the key capabilities covered is repositioning and resizing the TV video window within your app’s layout. Using the Samsung Smart TV Web API, you can programmatically define the size and position of the TV window — enabling you to create layouts where the live TV feed occupies only a portion of the screen while your app’s UI occupies the rest.

Redirecting TV Input

Alongside resizing, the tutorial shows how to redirect the TV input signal to the custom window location. This is essential for apps that need to display a live TV feed within a specific region of the screen, such as a picture-in-picture layout or a channel guide overlay.

Retrieving TV Window Information Programmatically

The Samsung Smart TV Web API also provides methods for querying the current state of the TV window. This allows your application to read back the window’s current size and position, giving you the information needed to make dynamic layout decisions based on the actual TV window state.

Controlling TV Window Frame Visibility

Another concept explored in the tutorial is controlling the visibility of TV window frames. You can show or hide the TV window frame through the Web API, which is useful for building seamless app experiences where the TV video transitions smoothly in and out of view based on user interaction.

Watch the full tutorial to see these Samsung Smart TV Web API techniques in action and learn how to take full control of the TV window in your Smart TV applications.

Advertisement

Stay connected

Get The Next Build Note

A quiet feed for new articles, videos, applications and project writeups

Newsletter

Join the WebDevStream build notes.

Receive recent posts, video lessons, application updates and project writeups.