#1 — Integrating Daily.Co Video Call API in ASP.NET MVC 5

Edwards Moses
Sep 11 · 3 min read
Photo by ROOM on Unsplash

Getting Started — Join a Video Call on Daily.co from your web application

First Step : Sign Up on Daily.Co

Second step: Choose a Daily.co domain name

Third Step: Integrating the Video Call in your Web Solution

<div class="row" style="margin-bottom:20px;"><button class="btn btn-primary" style="float:left;margin-right:20px;" onclick="mtgJoin()">Join meeting</button><button class="btn btn-danger" style="float:left;" onclick="mtgLeave()">Leave meeting</button></div><div class="row"><div id="mtg-frame" height="400" style="height:400px;border:0;background-color:lightgrey;"></div></div>

<script crossorigin src=”https://unpkg.com/@daily-co/daily-js"></script>
var daily = "@daily";
<script>function mtgJoin() {let callUrl = 'https://your-domain.daily.co/hello';if (!window.frame) {window.inp = document.getElementById('mtg-link');window.frame = window.DailyIframe.createFrame(document.getElementById('mtg-frame'));}window.frame.join({ url: callUrl });}function mtgLeave() {window.frame.leave();}</script>

Finished! Done

Edwards Moses

Written by

I’m a .NET developer working in Lagos, Nigeria. I find C# a great language to use and it’s also backed by a great ecosystem.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade