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-07-12 01:01:09 +08:00
|
|
|
<div style={{ height: '100%' }} role='presentation'>
|
|
|
|
<div className={styles.containerLeftHalf}>
|
|
|
|
<label for='camera'>Select camera</label>
|
|
|
|
</div>
|
|
|
|
<div className={styles.containerRightHalf}>
|
|
|
|
<label for='quality'>Video quality</label>
|
|
|
|
</div>
|
|
|
|
<div style={{ height: '20%' }} className={styles.containerLeftHalf} role='presentation'>
|
|
|
|
<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-07-12 01:01:09 +08:00
|
|
|
<div className={styles.hidden} id='camLabel'>Select camera source</div>
|
|
|
|
<div className={styles.hidden} id='camDesc'>Chooses a camera source from the dropdown menu.</div>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
2016-07-12 01:01:09 +08:00
|
|
|
<div style={{ height: '20%' }} className={styles.containerRightHalf} role='presentation'>
|
|
|
|
<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-07-12 01:01:09 +08:00
|
|
|
<div className={styles.hidden} id='vidLabel'>Select video quality</div>
|
|
|
|
<div className={styles.hidden} id='vidDesc'>Chooses the video quality level from the dropdown menu.</div>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
2016-07-12 01:01:09 +08:00
|
|
|
<div className={styles.containerLeftHalf}>
|
|
|
|
<p style={{ margin: '0px' }}>Viewing participants webcams</p>
|
2016-06-07 03:52:03 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-06 05:14:39 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|