Slightly better video player
This commit is contained in:
@@ -9,16 +9,10 @@ const VimeoPlayer = ({ videoId, onError }) => {
|
||||
onError={onError}
|
||||
allowsFullscreenVideo
|
||||
scrollEnabled={false}
|
||||
automaticallyAdjustContentInsets
|
||||
height={200}
|
||||
source={{
|
||||
html: `
|
||||
<html>
|
||||
<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>
|
||||
`,
|
||||
uri: `https://player.vimeo.com/video/${videoId}?h=489fff465c`,
|
||||
headers: {"Referer":"https://social.emmint.com"}
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user