Skip to content

Commit 0b5f0b9

Browse files
authored
Merge pull request #1298 from tabathad/fix-demo-video
fix: demo video
2 parents 9f24d3f + c461e1d commit 0b5f0b9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

website/src/pages/index.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Layout from '@theme/Layout';
33
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
44
import Avatar from '../components/avatar';
55
import Testimonials from './testimonials';
6-
import ReactPlayer from 'react-player';
76
import axios from 'axios';
87

98
/**
@@ -60,14 +59,17 @@ function Home() {
6059
</header>
6160
{showDemo ? (
6261
<section style={{ background: 'black' }}>
63-
<ReactPlayer
64-
url='https://www.finos.org/hubfs/Projects%20%2B%20SIGs/Open%20Source%20Readiness%20OSR/OSR%20Meeting_%20GitProxy%20Jamie%20Slome%20Citi%20Presentation.mp4#t=496'
65-
controls={true}
66-
width='100%'
67-
pip={true}
68-
stopOnUnmount={false}
69-
playing={true}
70-
/>
62+
<video
63+
controls
64+
style={{ width: '100%', display: 'block', aspectRatio: '16/9' }}
65+
preload='metadata'
66+
>
67+
<source
68+
src='https://www.finos.org/hubfs/Projects%20%2B%20SIGs/Open%20Source%20Readiness%20OSR/OSR%20Meeting_%20GitProxy%20Jamie%20Slome%20Citi%20Presentation.mp4#t=496'
69+
type='video/mp4'
70+
/>
71+
Your browser does not support the video tag.
72+
</video>
7173
</section>
7274
) : (
7375
<section className='terminal'>

0 commit comments

Comments
 (0)