File tree Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515 useMilestones ,
1616} from './helpers'
1717import s from './video-embed.module.css'
18- import { trackVideoStart } from 'lib/posthog-events'
1918
2019/**
2120 * MAX_PLAYBACK_SPEED is based on max speeds for YouTube & Wistia.
@@ -143,9 +142,6 @@ function VideoEmbed({
143142 { ...reactPlayerProps }
144143 config = { config }
145144 url = { url }
146- onStart = { ( ) => {
147- trackVideoStart ( url )
148- } }
149145 onDuration = { setDuration }
150146 progressInterval = { PROGRESS_INTERVAL }
151147 onProgress = { ( { playedSeconds } : { playedSeconds : number } ) => {
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import React from 'react'
77import { DocsEnterpriseAlert } from './components/enterprise-alert'
88import Image from 'components/image'
99import { ImageProps } from 'components/image/types'
10- import VideoEmbed from 'components/video-embed'
1110
1211// This function returns a simple object containing the default components
1312// The `additionalComponents` param is purely for convenience.
@@ -38,6 +37,5 @@ function _defaultComponents() {
3837 return {
3938 EnterpriseAlert : DocsEnterpriseAlert ,
4039 img : makeImageElement ( { noBorder : true } ) ,
41- VideoEmbed,
4240 }
4341}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments