File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import {Colors} from 'react-native/Libraries/NewAppScreen'
44// @ts -ignore
55import Video from 'react-native-video'
66
7+ const FOO_FIGHTERS_VIDEO = "https://cdn77-vid.xvideos-cdn.com/H7bKgXGzY9w1RRxgtrWbWg==,1622395890/videos/3gp/0/e/2/xvideos.com_0e2389203a2221da619cc648b95237df.mp4"
78// @ts -ignore
89export default ( { navigation} ) => {
910 const [ isPlaying , setIsPlaying ] = useState ( false )
@@ -30,7 +31,7 @@ export default ({navigation}) => {
3031 < >
3132 < Video
3233 accessibilityLabel = { "video component" }
33- source = { { uri : "https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" } }
34+ source = { { uri : FOO_FIGHTERS_VIDEO } }
3435 style = { isFullScreen ? styles . videoFullScreen : styles . video }
3536 resizeMode = { 'cover' }
3637 paused = { isPlaying }
@@ -77,8 +78,8 @@ const styles = StyleSheet.create({
7778 alignItems : "center"
7879 } ,
7980 video : {
80- width : 100 ,
81- height : 100
81+ width : 200 ,
82+ height : 200
8283 } ,
8384 videoFullScreen : {
8485 width : "100%" ,
You can’t perform that action at this time.
0 commit comments