Skip to main content

Youtube (유튜브) Widget Control

This page lists the Widget Controls (Property · Method · Event) you use to control the Youtube widget from a script. To learn about the widget itself and how to use it, visit Youtube.

info

In the examples below, youtubeID is the name (ID) you gave the Youtube widget on the canvas. In a script, you access it as widgetID.member.

note

The Youtube widget has no script-only Widget Controls (Property · Method · Event). Set the URL of the video to play and the playback options in the edit properties, or read and write them with the common Widget Controls (setProperty / getProperty) below. For example: youtubeID.setProperty("path", "https://youtu.be/영상ID").

Property

info

Not applicable — the Youtube widget has no script-only Property. In a script, read and write values with the common Widget Controls (getProperty / setProperty) below.

Method

info

Not applicable — the Youtube widget has no dedicated Method. Use the common Widget Controls below.

Event

info

Not applicable — the Youtube widget has no dedicated Event.

Common Widget Control (all widgets)

note

Every widget can use name-based common Widget Controls (Method) such as setProperty / getProperty / setStyleProperty. See the common reference doc (to be written).