Home / Companies / Daily / Blog / Post Details
Content Deep Dive

Add text animations to Daily live streams with Daily's VCS baseline composition

Blog post from Daily

Post Details
Company
Date Published
Author
Jess Mitchell
Word Count
1,174
Language
English
Hacker News Points
-
Summary

The Video Component System (VCS) of Daily's baseline composition allows developers to create custom live stream layouts and add image and text overlays that can be triggered mid-stream. In this tutorial, the authors extend their previous example by showing how to add text animations, also known as "toasts", that can be displayed during a live stream with dynamic text content. To trigger a toast component, users need to access the updateLiveStreaming() daily-js method and set specific options in the composition_params object, such as the toast's text, color, font styles, duration, and key value. The authors provide code examples and suggest visiting the VCS Simulator for more information on using Daily's baseline composition features.