19 lines
496 B
JavaScript
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);
|