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

16 lines
543 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
2022-02-15 23:54:55 +08:00
import { withModalMounter } from '/imports/ui/components/common/modal/service';
import ExternalVideoModal from './component';
2019-07-13 04:08:55 +08:00
import { startWatching, getVideoUrl } from '../service';
const ExternalVideoModalContainer = props => <ExternalVideoModal {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => {
mountModal(null);
},
startWatching,
2019-07-13 04:08:55 +08:00
videoUrl: getVideoUrl(),
}))(ExternalVideoModalContainer));