bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/external-video-player/modal/container.jsx

16 lines
533 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import ExternalVideoModal from './component';
import { startWatching, getVideoId } from '../service';
const ExternalVideoModalContainer = props => <ExternalVideoModal {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => {
mountModal(null);
},
startWatching,
videoId: getVideoId(),
}))(ExternalVideoModalContainer));