2016-05-06 05:14:39 +08:00
|
|
|
import React from 'react';
|
|
|
|
import Modal from 'react-modal';
|
2016-05-20 21:37:19 +08:00
|
|
|
import Icon from '/imports/ui/components/icon/component';
|
|
|
|
import Button from '/imports/ui/components/button/component';
|
2016-05-20 21:46:30 +08:00
|
|
|
import BaseMenu from './BaseMenu';
|
2016-06-07 03:52:03 +08:00
|
|
|
import styles from './styles';
|
2016-05-06 05:14:39 +08:00
|
|
|
|
|
|
|
export default class VideoMenu extends BaseMenu {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
getContent() {
|
|
|
|
return (
|
2016-08-24 02:04:49 +08:00
|
|
|
<div className={styles.full} role='presentation'>
|
2016-07-12 01:01:09 +08:00
|
|
|
<div className={styles.containerLeftHalf}>
|
2016-07-28 06:33:32 +08:00
|
|
|
<label htmlFor='camera'>Select camera</label>
|
2016-07-12 01:01:09 +08:00
|
|
|
</div>
|
|
|
|
<div className={styles.containerRightHalf}>
|
2016-07-28 06:33:32 +08:00
|
|
|
<label htmlFor='quality' >Video quality</label>
|
2016-07-12 01:01:09 +08:00
|
|
|
</div>
|
2016-08-24 02:04:49 +08:00
|
|
|
<div className={styles.containerLeftHalfContent} role='presentation'>
|
2016-08-06 03:21:35 +08:00
|
|
|
<select id='camera' defaultValue='0' tabIndex='7'
|
|
|
|
aria-labelledby='camLabel' aria-describedby='camDesc'>
|
2016-06-07 03:52:03 +08:00
|
|
|
<option value='0' disabled>Select camera</option>
|
|
|
|
<option value='1'>Camera 1</option>
|
|
|
|
<option value='2'>Camera 2</option>
|
|
|
|
<option value='3'>Camera 3</option>
|
|
|
|
</select>
|
2016-08-24 02:04:49 +08:00
|
|
|
<div id='camLabel' hidden>Camera source</div>
|
|
|
|
<div id='camDesc' hidden>
|
2016-08-06 03:21:35 +08:00
|
|
|
Chooses a camera source from the dropdown menu.</div>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
2016-08-24 02:04:49 +08:00
|
|
|
<div className={styles.containerRightHalfContent} role='presentation'>
|
2016-08-06 03:21:35 +08:00
|
|
|
<select id='quality' defaultValue='0' tabIndex='8'
|
|
|
|
aria-labelledby='vidLabel' aria-describedby='vidDesc'>
|
2016-06-07 03:52:03 +08:00
|
|
|
<option value='0' disabled>Select quality</option>
|
|
|
|
<option value='1'>Low</option>
|
|
|
|
<option value='2'>Medium</option>
|
|
|
|
<option value='3'>High</option>
|
|
|
|
</select>
|
2016-08-24 02:04:49 +08:00
|
|
|
<div id='vidLabel' hidden>Video quality</div>
|
|
|
|
<div id='vidDesc' hidden>
|
2016-08-06 03:21:35 +08:00
|
|
|
Chooses the video quality level from the dropdown menu.</div>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
2016-08-24 02:04:49 +08:00
|
|
|
<div className={styles.row}>
|
|
|
|
<div>Viewing participants webcams</div>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-06 05:14:39 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|