29 lines
722 B
JavaScript
29 lines
722 B
JavaScript
import React from 'react';
|
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import { Session } from 'meteor/session';
|
|
import ExternalVideo from './component';
|
|
|
|
const intlMessages = defineMessages({
|
|
title: {
|
|
id: 'app.externalVideo.title',
|
|
description: '',
|
|
},
|
|
});
|
|
|
|
const ExternalVideoContainer = props => (
|
|
<ExternalVideo {...props}>
|
|
{props.children}
|
|
</ExternalVideo>
|
|
);
|
|
|
|
export default injectIntl(withTracker(({ params, intl, isPresenter }) => {
|
|
const title = intl.formatMessage(intlMessages.title);
|
|
const inEchoTest = Session.get('inEchoTest');
|
|
return {
|
|
inEchoTest,
|
|
title,
|
|
isPresenter,
|
|
};
|
|
})(ExternalVideoContainer));
|