Skip to content

Commit

Permalink
make the room id configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Gene Hallman committed Feb 27, 2015
1 parent 69cb9e7 commit 0bb8e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<script type="text/javascript">
var videoHolder;
var room_id = new Date().getMinutes();
var room_id = (window.location.search.match(/[\?&]id=(\d*)/) || []).pop() || new Date().getMinutes();
var participant_id;
var participants = {};
var _err = function() { console.error(arguments); };
Expand Down

0 comments on commit 0bb8e02

Please sign in to comment.