How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get began, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie total screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Reminisce that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to liquidate others’ movie rivulets on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Ultimately, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a total multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a elementary Knot/Express server to serve up our static file
With Knot/Express that’s elementary
Two. Run ‘npm install express’ in your project’s folder
Trio. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get began, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie utter screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Reminisce that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to eliminate others’ movie rivulets on their disconnection so we set a listener for the ‘disconnect’ event and eliminate the movie belonging to the participant with the relevant callerID
Eventually, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a utter multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a elementary Knot/Express server to serve up our static file
With Knot/Express that’s ordinary
Two. Run ‘npm install express’ in your project’s folder
Three. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get began, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie utter screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Reminisce that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to eliminate others’ movie rivulets on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Ultimately, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a utter multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a plain Knot/Express server to serve up our static file
With Knot/Express that’s plain
Two. Run ‘npm install express’ in your project’s folder
Trio. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get embarked, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie utter screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Recall that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to eliminate others’ movie flows on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Ultimately, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a total multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s at jsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a plain Knot/Express server to serve up our static file
With Knot/Express that’s plain
Two. Run ‘npm install express’ in your project’s folder
Three. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
Will Sentance is CTO at Codesmith. He instructs core software engineering, computer science, backend engineering with Knot, and prepares students for hiring.
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get embarked, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie utter screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Recall that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to liquidate others’ movie flows on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Eventually, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a utter multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a plain Knot/Express server to serve up our static file
With Knot/Express that’s elementary
Two. Run ‘npm install express’ in your project’s folder
Three. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three chunks to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get embarked, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie total screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Reminisce that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to eliminate others’ movie flows on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Ultimately, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a utter multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a elementary Knot/Express server to serve up our static file
With Knot/Express that’s plain
Two. Run ‘npm install express’ in your project’s folder
Three. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)
How to create your own movie talk app in under ten mins
How to create your own movie talk app in under ten mins
The very first movie talk powered by Icecomm was created in JSFiddle — eight lines of front-end javascript and the result was the most nosey talk roulette ever.
Since then Icecomm has evolved to suite of SDKs for e-commerce, email, phone integration, but at its heart is still the capability to create a multiway movie talk in under ten mins. That’s what we’ll be doing here
There are three lumps to put together
- Some minimal boilerplate HTML to get the page set up
- CSS to style our movie streams’ appearance
- The icecomm script tag and javascript
We’ll tick these off as we progress
Note at the end of this post there are a number of extension ideas to explore from making your movie stream draggable to integrating with a React app.
But very first the basic multiway movie app. To get embarked, add the HTML code
This is the basic HTML framework into which we’re going to plant our movie talk. Notice the HTML5 movie element with id localVideo — our javascript will use this to locate where to add our local movie stream (that is, the stream from our own camera)
Next let’s put together some basic styling
This will make our friend’s movie total screen with ours overlaid in the bottom right corner (we’ll see how to make our movie stream draggable as an extension to this post)
Now were onto the meat of the problem — adding the javascript that will get our movie talk off the ground
Very first we must add the icecomm script — you can use the hosted CDN version at http://cdn.icecomm.io/icecomm.js.
Alternatively, install it with bower
Recall that to install with bower you’ll need to very first install bower (using npm — the package manager that comes with Knot [link])
Now let’s create the client Icecomm object that you’ll be interacting with
Here you’ll need to grab an api key from icecomm.io/signup and drop that in
Set the movie element’s content to be your own movie stream (you do this on the event ‘local’ that’s very first emitted you click to approve your movie camera)
Now ready your app to listen for another client’s connection
and when they connect, you’ll add their movie stream to the mix with
We want to eliminate others’ movie flows on their disconnection so we set a listener for the ‘disconnect’ event and liquidate the movie belonging to the participant with the relevant callerID
Eventually, let’s connect to a room. Icecomm automatically supports rooms and each movie talk has to take place inwards one
(you can pass in as an extra 2nd argument if you don’t want to have audio feedback when testing your movie talk on the same browser)
And that’s it — a utter multiway movie talk app with only frontend javascript in under ten mins (and around eight lines of javascript) — the final code’s atjsfiddle.net/TawnyOwl/j228hopd/
Extensions
JSFiddle
If you wrote your code in JSFiddle — share the link with others to create your very own talk roulette (eminently cleaner of course)
Adding a minimal server
Very first we’ll add a plain Knot/Express server to serve up our static file
With Knot/Express that’s elementary
Two. Run ‘npm install express’ in your project’s folder
Three. Create a file server.js
Four. Add the following lines of javascript to server.js
Five. Run server.js with
Now at localhost:8000 you’ll find your movie talk — ready to be deployed on heroku (go after steps to do that here)