Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
031692ac
Commit
031692ac
authored
Feb 14, 2015
by
Dele Olajide
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ofmeet plugin version 0.1.2
Inject video HTML into document by API
parent
88e30969
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
154 deletions
+74
-154
index.html
src/plugins/ofmeet/src/api/index.html
+17
-22
ofmeet.css
src/plugins/ofmeet/src/api/ofmeet.css
+1
-68
ofmeet.js
src/plugins/ofmeet/src/api/ofmeet.js
+55
-46
openfire-meetings.html
src/plugins/ofmeet/src/api/openfire-meetings.html
+1
-18
No files found.
src/plugins/ofmeet/src/api/index.html
View file @
031692ac
<html>
<head>
<link
rel=
"stylesheet"
href=
"ofmeet.css?v=1"
/>
<style>
html
,
body
{
margin
:
0px
;
height
:
100%
;
color
:
#424242
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
sans-serif
;
font-weight
:
400
;
background
:
#000000
;
overflow-x
:
hidden
;
}
</style>
<script
src=
"/ofmeet/config"
></script>
<script
src=
"ofmeet.js?v=1"
></script>
<script>
...
...
@@ -24,9 +35,9 @@
//ofmeet.toggleAudio();
//ofmeet.toggleScreenSharing();
//ofmeet.toggleFilmStrip();
//
ofmeet.visible(visible);
//
visible = !visible;
ofmeet
.
visible
(
visible
);
visible
=
!
visible
;
/*
if (joined)
{
ofmeet.leaveRoom();
...
...
@@ -36,14 +47,14 @@
ofmeet.joinRoom("alizecornet", true);
joined = true;
}
*/
},
60000
);
});
$
(
document
).
bind
(
'
ofmeet.ready
'
,
function
()
{
console
.
log
(
"
ofmeet.ready
"
);
ofmeet
.
ini
t
();
ofmeet
.
connec
t
();
});
$
(
document
).
ready
(
function
()
...
...
@@ -205,22 +216,6 @@
</script>
</head>
<body>
<div
id=
"videospace"
>
<div
id=
"largeVideoContainer"
class=
"videocontainer"
>
<div
id=
"activeSpeaker"
>
<img
id=
"activeSpeakerAvatar"
src=
""
/>
<canvas
id=
"activeSpeakerAudioLevel"
></canvas>
</div>
<video
id=
"largeVideo"
autoplay
oncontextmenu=
"return false;"
></video>
</div>
<div
id=
"remoteVideos"
>
<span
id=
"localVideoContainer"
class=
"videocontainer"
>
<span
id=
"localNick"
class=
"nick"
></span>
<span
id=
"localVideoWrapper"
/>
<audio
id=
"localAudio"
autoplay
oncontextmenu=
"return false;"
muted
></audio>
<span
class=
"focusindicator"
></span>
</span>
</div>
</div>
<h1>
Openfire Meetings
</h1>
</body>
</html>
src/plugins/ofmeet/src/api/ofmeet.css
View file @
031692ac
...
...
@@ -248,16 +248,6 @@
user-select
:
none
;
}
html
,
body
{
margin
:
0px
;
height
:
100%
;
color
:
#424242
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
sans-serif
;
font-weight
:
400
;
background
:
#000000
;
overflow-x
:
hidden
;
}
.right-panel
{
display
:
none
;
position
:
absolute
;
...
...
@@ -403,63 +393,6 @@ a.bottomToolbarButton:hover {
background
:
#373737
;
}
input
[
type
=
'text'
],
input
[
type
=
'password'
],
textarea
{
display
:
inline-block
;
font-size
:
14px
;
padding
:
5px
;
background
:
#f3f3f3
;
border-radius
:
3px
;
font-weight
:
100
;
line-height
:
20px
;
height
:
40px
;
color
:
#333
;
text-align
:
left
;
border
:
1px
solid
#ACD8F0
;
outline
:
none
;
/* removes the default outline */
resize
:
none
;
/* prevents the user-resizing, adjust to taste */
}
input
[
type
=
'text'
],
input
[
type
=
'password'
],
textarea
:focus
{
box-shadow
:
inset
0
0
3px
2px
#ACD8F0
;
/* provides a more style-able
replacement to the outline */
}
textarea
{
overflow
:
hidden
;
word-wrap
:
break-word
;
resize
:
horizontal
;
}
button
.no-icon
{
padding
:
0
1em
;
}
button
{
border
:
none
;
height
:
35px
;
padding
:
0
1em
0
2em
;
position
:
relative
;
border-radius
:
3px
;
font-weight
:
bold
;
color
:
#fff
;
line-height
:
35px
;
background
:
#2c8ad2
;
}
button
,
input
,
select
,
textarea
{
margin
:
0
;
vertical-align
:
baseline
;
}
button
,
input
[
type
=
"button"
],
input
[
type
=
"reset"
],
input
[
type
=
"submit"
]
{
cursor
:
pointer
;
-webkit-appearance
:
button
;
}
form
{
display
:
block
;
}
#downloadlog
{
position
:
absolute
;
bottom
:
5
;
...
...
@@ -711,7 +644,7 @@ form {
#videospace
{
display
:
block
;
display
:
none
;
position
:
absolute
;
top
:
0px
;
left
:
0px
;
...
...
src/plugins/ofmeet/src/api/ofmeet.js
View file @
031692ac
This diff is collapsed.
Click to expand it.
src/plugins/ofmeet/src/api/openfire-meetings.html
View file @
031692ac
<html>
<template
id=
"ofmeetTemplate"
>
<link
rel=
"stylesheet"
href=
"ofmeet.css?v=1"
/>
<div
id=
"videospace"
>
<div
id=
"largeVideoContainer"
class=
"videocontainer"
>
<div
id=
"activeSpeaker"
>
<img
id=
"activeSpeakerAvatar"
src=
""
/>
<canvas
id=
"activeSpeakerAudioLevel"
></canvas>
</div>
<video
id=
"largeVideo"
autoplay
oncontextmenu=
"return false;"
></video>
</div>
<div
id=
"remoteVideos"
>
<span
id=
"localVideoContainer"
class=
"videocontainer"
>
<span
id=
"localNick"
class=
"nick"
></span>
<span
id=
"localVideoWrapper"
/>
<audio
id=
"localAudio"
autoplay
oncontextmenu=
"return false;"
muted
></audio>
<span
class=
"focusindicator"
></span>
</span>
</div>
</div>
</template>
<script
src=
"/ofmeet/config"
></script>
<script
src=
"ofmeet.js?v=1"
></script>
...
...
@@ -43,7 +26,7 @@
$
(
document
).
bind
(
'
ofmeet.ready
'
,
function
()
{
//console.log("ofmeet ready");
ofmeet
.
ini
t
();
ofmeet
.
connec
t
();
});
$
(
document
).
ready
(
function
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment