-
Notifications
You must be signed in to change notification settings - Fork 2
Youtube Component
Peter Gusev edited this page May 2, 2015
·
1 revision
This component can be used to stream video from Youtube identified by its' youtube URL (aka service URL).
-
serviceUrl (DAT)- DAT Text input which contains service URL of Youtube video. -
pause (CHOP)- CHOP input; if value gets greater than 0.5, video playback is paused. -
loop (CHOP)- CHOP input; if value gets greater than 0.5, whenever video playback is over, it starts again. -
seek (CHOP)- CHOP input; the value specifies seeking position in the video on a scale from 0 to 1. -
switchOnCue (CHOP)- CHOP input; if the value is below or equal 0.5, new video will start to play only after it'll be pre-buffered (so called "seamless video switching"); otherwise - video switching is triggered byswitchCueinput. -
switchCue (CHOP)- CHOP input; active only whenswitchOnCueis enabled - whenever value of this input changes, pre-buffered video starts to play; switchCue can be triggered in advance (i.e. while video is still pre-buffering), in this case, new video will start to play automatically as soon as pre-buffering is over.
-
info- contains useful status information in a DAT Table. Table has two columns, the first column defines indicator name, second column defines indicator value. Besides YouTubeTOP's output, table contains following rows:-
URL fetching status- status of Video URL Parser Component
-
This components combines Video URL Parser Component, YoutubeTOP Library and some default TouchDesigner nodes in order to provide simple interface to a user. An example of how this component might be used together with Channel Videos Fetcher Component, can be found in sample1.toe file: