2018-11-30 01:24:02 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
|
|
import ExternalVideoModal from './component';
|
2019-07-13 04:08:55 +08:00
|
|
|
import { startWatching, getVideoUrl } from '../service';
|
2018-11-30 01:24:02 +08:00
|
|
|
|
2019-01-16 04:44:41 +08:00
|
|
|
const ExternalVideoModalContainer = props => <ExternalVideoModal {...props} />;
|
2018-11-30 01:24:02 +08:00
|
|
|
|
2023-03-22 01:55:43 +08:00
|
|
|
export default withTracker(() => ({
|
2019-01-16 04:44:41 +08:00
|
|
|
startWatching,
|
2019-07-13 04:08:55 +08:00
|
|
|
videoUrl: getVideoUrl(),
|
2023-03-22 01:55:43 +08:00
|
|
|
}))(ExternalVideoModalContainer);
|