21
loading...
This website collects cookies to deliver better user experience
Wait -- isn't Daily a JavaScript API? That's right, but with Anvil you can import Javascript libraries into your Python front end. How? Read on...
room_name_textbox
.start_call_button
and its text to Start call
. Change the second Button's name to end_call_button
and its text to End call
.Create room
and giving our room a name.For more information on creating rooms, Daily has a useful guide here.
start_call_button
.start_call_button_click
function will be called every time the button is clicked. In the function, we'll check if the user has entered a room name and then create an instance of a DailyIframe
called call_frame
. Then, we'll call the DailyIframe
's join()
method, passing it our meeting room link plus the room_name
as a parameter.'https://your-team.daily.co/'
with your own meeting room link, which you can find in your Daily dashboard.)start_call_button
, create an event handler function for end_call_button
called end_call_button_click
. Then call those methods: