// vim: set ts=2 sw=2 et tw=80: import React, { Component } from "react"; import { StyledDiv } from "./VideocmStyle"; import { Checkbox, Embed, Button, Grid, Responsive, Segment } from "semantic-ui-react"; import { RemoteService } from "../../../remote"; import { connect } from "react-redux"; import VideocamModal from "./VideocamModal"; class Light extends Component { constructor(props) { super(props); this.state = { selectedVideo: undefined}; } openModal = () => { this.setState((state) => { return {selectedVideo: true} }); }; closeModal = () => { this.setState((state) => { return {selectedVideo:undefined} }) } render() { const normalLightView = (