|
|
|
@ -45,7 +45,7 @@ export default ({ src, videoId, logWatchHistory, courseId = null }) => {
|
|
|
|
|
|
|
|
|
|
const log = useCallback((callback, isEnd = false) => {
|
|
|
|
|
let params = {
|
|
|
|
|
point: el.currentTime.currentTime
|
|
|
|
|
point: el.current.currentTime
|
|
|
|
|
}
|
|
|
|
|
if (logId) {
|
|
|
|
|
params['log_id'] = logId
|
|
|
|
|