mirror of https://github.com/dani/vroom.git
Video conf based on SimpleWebRTC https://vroom.fws.fr/documentation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
702 B
15 lines
702 B
<script type="text/javascript">
|
|
<% my $url = $self->url_for('/');
|
|
$url .= ($url =~ m/\/$/) ? '' : '/'; %>
|
|
var rootUrl = '<%= $url %>';
|
|
var currentLang = '<%= $self->languages %>';
|
|
var api_key = '<%= ($self->session('key')) ? $self->session('key') : '' %>';
|
|
var roomName;
|
|
</script>
|
|
<%
|
|
my @js = qw(js/jquery-1.11.2.js js/bootstrap.js js/notify-combined.js js/bootstrap-switch.js js/jquery.bootpag.js js/toc.js js/vroom.js);
|
|
if (stash('page') && stash('page') eq 'room'){
|
|
push @js, qw(js/simplewebrtc.bundle.js js/jquery.browser.js js/sprintf.js js/FileSaver.js js/jquery.tinytimer.js js/etherpad.js);
|
|
}
|
|
%>
|
|
<%=js @js %>
|
|
|