Slightly better video player
This commit is contained in:
@@ -9,16 +9,10 @@ const VimeoPlayer = ({ videoId, onError }) => {
|
|||||||
onError={onError}
|
onError={onError}
|
||||||
allowsFullscreenVideo
|
allowsFullscreenVideo
|
||||||
scrollEnabled={false}
|
scrollEnabled={false}
|
||||||
automaticallyAdjustContentInsets
|
height={200}
|
||||||
source={{
|
source={{
|
||||||
html: `
|
uri: `https://player.vimeo.com/video/${videoId}?h=489fff465c`,
|
||||||
<html>
|
headers: {"Referer":"https://social.emmint.com"}
|
||||||
<body>
|
|
||||||
<iframe src="https://player.vimeo.com/video/${videoId}" width="100%" height="200px" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
|
||||||
<script src="https://player.vimeo.com/api/player.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
`,
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user