bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/external-video-player/container.jsx
2019-10-10 18:01:27 -03:00

19 lines
496 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { Session } from 'meteor/session';
import { getVideoUrl } from './service';
import ExternalVideo from './component';
const ExternalVideoContainer = props => (
<ExternalVideo {...{ ...props }} />
);
export default withTracker(({ isPresenter }) => {
const inEchoTest = Session.get('inEchoTest');
return {
inEchoTest,
isPresenter,
videoUrl: getVideoUrl(),
};
})(ExternalVideoContainer);