A repository of over 1000 quality jQuery plugins

jQuery Webrtc jQuery Plugin

Webrtc jQuery Plugin is a jQuery Audio & Video plugin.

Created by Freshtilledsoil

This plugin enables real-time streaming of video and/or audio between two web browsers(or peers).

Not what you're looking for? Click here to view more Audio & Video jQuery plugins

THIS PLUGIN IS NOT ACTIVELY MAINTAINED

WebRTC jQuery plugin

This plugin enables real-time streaming of video and/or audio between two web browsers(or peers).

Installation

  • Download & unzip the source
  • Move the source into your www directory
  • Open the page http://yourserver/
  • Enjoy!

Use

First, the HTML...

Place the following HTML code snippet within your tag

<!-- main container -->
<div id="mainContainer" class="main-container">

    <!-- local video -->
    <video id="localVideo" class="local-video"></video>

    <!-- remote video -->
    <video id="remoteVideo" class="remote-video" autoplay></video>

    <!-- video status & room entry bar -->
    <div id="videoStatus" class="video-status"></div>

</div>

Then, the CSS...

Include the css within your head tag

<link rel="stylesheet" href="css/fts-webrtc-styles.css">

And finally, the bloody brilliant piece that makes it all happen --the JavaScript!

This plugin enables real-time streaming of video between to browsers. Some more text here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus leo ipsum, tempor eget mollis in, vehicula eu quam. Fusce fermentum elit at lorem tincidunt eget tempus urna ultricies.

<!-- JavaScript Ressources -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/jquery.fresh-tilled-soil-webrtc.js"></script>

<!-- Plugin Initialization -->
<script type="text/javascript">
    $(function() {
        $('#mainContainer').createVideoChat();
    });
</script>

Full Sample Demo Page (Putting it all Together)

This plugin enables real-time streaming of video between to browsers. Some more text here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus leo ipsum, tempor eget mollis in, vehicula eu quam. Fusce fermentum elit at lorem tincidunt eget tempus urna ultricies.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fresh Tilled Soil Video Conference | WebRTC jQuery Plug-in Demo</title>

<!-- Stylesheet Resources -->
<link rel="stylesheet" href="css/fts-webrtc-styles.css">

</head>
<body>

<!-- main container -->
<div id="mainContainer" class="main-container">

    <!-- local video -->
    <video id="localVideo" class="local-video"></video>

    <!-- remote video -->
    <video id="remoteVideo" class="remote-video" autoplay></video>

    <!-- video status & room entry bar -->
    <div id="videoStatus" class="video-status"></div>

</div>

<!-- JavaScript Ressources -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/jquery.fresh-tilled-soil-webrtc.js"></script>

<!-- Plugin Initialization -->
<script type="text/javascript">
    $(function() {
        $('#mainContainer').createVideoChat();
    });
</script>

</body>
</html>

Browser Support

Given the newness of WebRTC this jQuery plug-in has been created to support all major browsers that support the latest draft WebRTC specifications at the time of release. Below you will find a list & download links for the latest supported browsers:

  • Chrome
  • Chrome Beta for Android (for tablet & mobile phone support)
  • FireFox
  • Internet Explorer 10 (requires Google Chrome Frame plug-in)
  • Chromium
  • Chrome Canary
  • FireFox Aurora
  • FireFox Nightly


You might also like these other Audio & Video jQuery Plugins

  • articulate.js

    A jQuery plugin that lets the browser speak to you.

  • JqVideoBox

    jqVideoBox is jquery lightbox for videos from Youtube, Metacafe, Google Video, Dailymotion, Blip, Revver, Veoh, Vimeo and more

  • jQuery Video Extend

    HTML5 Video Extend

License:

The MIT License (MIT)