| /expo/packages/expo-camera/build/ |
| H A D | ExponentCamera.web.js | 12 const video = React.useRef(null); constant 13 const native = useWebCameraStream(video, type, props, { 24 useWebQRScanner(video, { 41 if (!video.current || video.current?.readyState !== video.current?.HAVE_ENOUGH_DATA) { 48 return capture(video.current, settings, { 62 if (video.current) { 63 video.current.play(); 67 if (video.current) { 68 video.current.pause(); 79 styles.video, [all …]
|
| H A D | WebCameraUtils.js | 45 if (!video || video.readyState !== video.HAVE_ENOUGH_DATA) { 57 const { videoWidth, videoHeight } = video; 92 video: {}, property 117 preferredConstraints.video.width = width; 163 const base64 = captureImage(video, config); 250 export function setVideoSource(video, stream) { argument 253 video.srcObject = stream; 256 video.mozSrcObject = stream; 259 video.src = createObjectURL(stream); 263 const source = video.src ?? video.srcObject ?? video.mozSrcObject; [all …]
|
| H A D | useWebCameraStream.js | 19 function useLoadedVideo(video, onLoaded) { argument 21 if (video) { 22 video.addEventListener('loadedmetadata', () => { 31 }, [video]); 33 export function useWebCameraStream(video, preferredType, settings, { onCameraReady, onMountError, }… argument 139 if (!video.current) { 142 Utils.setVideoSource(video.current, stream); 143 }, [video.current, stream]); 151 if (video.current) { 153 Utils.setVideoSource(video.current, stream); [all …]
|
| H A D | WebCameraUtils.d.ts | 11 export declare function captureImageData(video: HTMLVideoElement | null, pictureOptions?: Pick<Came… 12 export declare function captureImageContext(video: HTMLVideoElement, { scale, isImageMirror }: Pick… 13 export declare function captureImage(video: HTMLVideoElement, pictureOptions: CameraPictureOptions)… 26 export declare function capture(video: HTMLVideoElement, settings: MediaTrackSettings, config: Came… 29 export declare function setVideoSource(video: HTMLVideoElement, stream: MediaStream | MediaSource |… 30 export declare function isCapabilityAvailable(video: HTMLVideoElement, keyName: string): boolean;
|
| H A D | WebUserMediaManager.js | 48 video: typeof videoConstraints !== 'undefined' ? videoConstraints : true, property 57 return await sourceSelectedAsync(isMuted, props.audio, props.video); 59 const [audio, video] = await requestLegacyUserMediaAsync(props); 60 return await sourceSelectedAsync(isMuted, audio, video); 66 video: ignoreConstraints || constraints.video,
|
| /expo/packages/expo-camera/src/ |
| H A D | WebCameraUtils.ts | 84 video: HTMLVideoElement | null, 87 if (!video || video.readyState !== video.HAVE_ENOUGH_DATA) { 102 video: HTMLVideoElement, 132 video: HTMLVideoElement, 155 video: {}, constant 248 video: HTMLVideoElement, 377 video: HTMLVideoElement, 383 video.srcObject = stream; 385 (video as any).mozSrcObject = stream; 392 const source = video.src ?? video.srcObject ?? (video as any).mozSrcObject; constant [all …]
|
| H A D | useWebCameraStream.ts | 28 function useLoadedVideo(video: HTMLVideoElement | null, onLoaded: () => void) { 30 if (video) { 31 video.addEventListener('loadedmetadata', () => { 40 }, [video]); 44 video: React.MutableRefObject<HTMLVideoElement | null>, 173 if (!video.current) { 176 Utils.setVideoSource(video.current, stream); 177 }, [video.current, stream]); 186 if (video.current) { 188 Utils.setVideoSource(video.current, stream); [all …]
|
| H A D | ExponentCamera.web.tsx | 47 useWebQRScanner(video, { 68 if (!video.current || video.current?.readyState !== video.current?.HAVE_ENOUGH_DATA) { 79 return capture(video.current, settings, { 93 if (video.current) { 94 video.current.play(); 98 if (video.current) { 99 video.current.pause(); 114 styles.video, 131 ref={video} 151 ) => createElement('video', { ...props, ref }) [all …]
|
| H A D | WebUserMediaManager.ts | 67 video: typeof videoConstraints !== 'undefined' ? videoConstraints : true, 78 props: { audio?: any; video?: any }, 82 return await sourceSelectedAsync(isMuted, props.audio, props.video); 84 const [audio, video] = await requestLegacyUserMediaAsync(props); constant 85 return await sourceSelectedAsync(isMuted, audio, video); 95 video: ignoreConstraints || constraints.video,
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | video-thumbnails.mdx | 3 description: A library that allows you to generate an image to serve as a thumbnail from a video fi… 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/main/packages/expo-video-thumbnails' 5 packageName: 'expo-video-thumbnails' 13 **`expo-video-thumbnails`** allows you to generate an image to serve as a thumbnail from a video fi… 23 <SnackInline label='Video Thumbnails' dependencies={['expo-video-thumbnails']}> 28 import * as VideoThumbnails from 'expo-video-thumbnails'; 77 import * as VideoThumbnails from 'expo-video-thumbnails'; 80 <APISection packageName="expo-video-thumbnails" apiName="VideoThumbnails" />
|
| H A D | video.mdx | 3 description: A library that provides an API to implement video playback and recording in apps. 14 The `Video` component from **`expo-av`** displays a video inline with the other UI elements in your… 16 …video-specific props and APIs. We encourage you to skim through this document to get basic video w… 26 Here's a simple example of a video with a play/pause button. 36 const video = React.useRef(null); 41 ref={video} 42 style={styles.video} 55 status.isPlaying ? video.current.pauseAsync() : video.current.playAsync() 70 video: { 86 …custom `VideoPlayer` controls component](https://github.com/ihmpavel/expo-video-player/blob/master… [all …]
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | video-thumbnails.mdx | 3 description: A library that allows you to generate an image to serve as a thumbnail from a video fi… 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-48/packages/expo-video-thumbnails' 5 packageName: 'expo-video-thumbnails' 13 **`expo-video-thumbnails`** allows you to generate an image to serve as a thumbnail from a video fi… 23 <SnackInline label='Video Thumbnails' dependencies={['expo-video-thumbnails']}> 28 import * as VideoThumbnails from 'expo-video-thumbnails'; 77 import * as VideoThumbnails from 'expo-video-thumbnails'; 80 <APISection packageName="expo-video-thumbnails" apiName="VideoThumbnails" />
|
| H A D | video.mdx | 3 description: A library that provides an API to implement video playback and recording in apps. 14 The `Video` component from **`expo-av`** displays a video inline with the other UI elements in your… 16 …video-specific props and APIs. We encourage you to skim through this document to get basic video w… 26 Here's a simple example of a video with a play/pause button. 36 const video = React.useRef(null); 41 ref={video} 42 style={styles.video} 55 status.isPlaying ? video.current.pauseAsync() : video.current.playAsync() 70 video: { 86 …custom `VideoPlayer` controls component](https://github.com/ihmpavel/expo-video-player/blob/master… [all …]
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | video-thumbnails.mdx | 3 description: A library that allows you to generate an image to serve as a thumbnail from a video fi… 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-47/packages/expo-video-thumbnails' 5 packageName: 'expo-video-thumbnails' 13 **`expo-video-thumbnails`** allows you to generate an image to serve as a thumbnail from a video fi… 23 <SnackInline label='Video Thumbnails' dependencies={['expo-video-thumbnails']}> 28 import * as VideoThumbnails from 'expo-video-thumbnails'; 77 import * as VideoThumbnails from 'expo-video-thumbnails'; 80 <APISection packageName="expo-video-thumbnails" apiName="VideoThumbnails" />
|
| H A D | video.mdx | 3 description: A library that provides an API to implement video playback and recording in apps. 14 The `Video` component from **`expo-av`** displays a video inline with the other UI elements in your… 16 …video-specific props and APIs. We encourage you to skim through this document to get basic video w… 26 Here's a simple example of a video with a play/pause button. 36 const video = React.useRef(null); 41 ref={video} 42 style={styles.video} 55 status.isPlaying ? video.current.pauseAsync() : video.current.playAsync() 70 video: { 86 …custom `VideoPlayer` controls component](https://github.com/ihmpavel/expo-video-player/blob/master… [all …]
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | video-thumbnails.mdx | 3 description: A library that allows you to generate an image to serve as a thumbnail from a video fi… 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-46/packages/expo-video-thumbnails' 5 packageName: 'expo-video-thumbnails' 13 **`expo-video-thumbnails`** allows you to generate an image to serve as a thumbnail from a video fi… 23 <SnackInline label='Video Thumbnails' dependencies={['expo-video-thumbnails']}> 28 import * as VideoThumbnails from 'expo-video-thumbnails'; 77 import * as VideoThumbnails from 'expo-video-thumbnails'; 80 <APISection packageName="expo-video-thumbnails" apiName="VideoThumbnails" />
|
| H A D | video.mdx | 3 description: A library that provides an API to implement video playback and recording in apps. 14 The `Video` component from **`expo-av`** displays a video inline with the other UI elements in your… 16 …video-specific props and APIs. We encourage you to skim through this document to get basic video w… 26 Here's a simple example of a video with a play/pause button. 36 const video = React.useRef(null); 41 ref={video} 42 style={styles.video} 55 status.isPlaying ? video.current.pauseAsync() : video.current.playAsync() 70 video: { 86 …custom `VideoPlayer` controls component](https://github.com/ihmpavel/expo-video-player/blob/master… [all …]
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | video-thumbnails.mdx | 3 description: A library that allows you to generate an image to serve as a thumbnail from a video fi… 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-49/packages/expo-video-thumbnails' 5 packageName: 'expo-video-thumbnails' 13 **`expo-video-thumbnails`** allows you to generate an image to serve as a thumbnail from a video fi… 23 <SnackInline label='Video Thumbnails' dependencies={['expo-video-thumbnails']}> 28 import * as VideoThumbnails from 'expo-video-thumbnails'; 77 import * as VideoThumbnails from 'expo-video-thumbnails'; 80 <APISection packageName="expo-video-thumbnails" apiName="VideoThumbnails" />
|
| H A D | video.mdx | 3 description: A library that provides an API to implement video playback and recording in apps. 14 The `Video` component from **`expo-av`** displays a video inline with the other UI elements in your… 16 …video-specific props and APIs. We encourage you to skim through this document to get basic video w… 26 Here's a simple example of a video with a play/pause button. 36 const video = React.useRef(null); 41 ref={video} 42 style={styles.video} 55 status.isPlaying ? video.current.pauseAsync() : video.current.playAsync() 70 video: { 86 …custom `VideoPlayer` controls component](https://github.com/ihmpavel/expo-video-player/blob/master… [all …]
|
| /expo/packages/expo-video-thumbnails/ |
| H A D | README.md | 1 # expo-video-thumbnails 3 …ides function that let you generate an image from video. This can be used for example to create a … 7 …h](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/video-thumbnails.mdx) 8 - [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/video-thu… 12 …tation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/video-thumbnails/). 21 npx expo install expo-video-thumbnails
|
| /expo/packages/expo-video/ |
| H A D | README.md | 2 <a href="https://docs.expo.dev/versions/unversioned/sdk/video/"> 4 src="../../.github/resources/expo-video.svg" 5 alt="expo-video" 10 A cross-platform, performant video component for React Native and Expo with Web support 14 …e main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/video.md) 15 - [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/video/) 28 npm install @expo/video
|
| /expo/apps/native-component-list/src/screens/AV/ |
| H A D | VideoPlayer.tsx | 37 const video = React.useRef<Video>(null); 48 const playAsync = async () => video.current?.playAsync(); 50 const pauseAsync = async () => video.current?.pauseAsync(); 52 const replayAsync = async () => video.current?.replayAsync(); 57 video.current?.setIsLoopingAsync(isLooping); 62 video.current?.setRateAsync(rate, shouldCorrectPitch); 67 const openFullscreen = () => video.current?.presentFullscreenPlayer(); 77 await video.current?.pauseAsync(); 79 await video.current?.unloadAsync(); 81 await video.current?.loadAsync(props.sources[sourceIndex], { [all …]
|
| /expo/packages/expo-av/build/ |
| H A D | Video.types.js.map | 1 …video data.\n */\n width: number;\n /**\n * A number describing the height in pixels of the …
|
| /expo/apps/test-suite/tests/ |
| H A D | ImagePicker.js | 140 for (const video of result.assets) { 141 expect(Math.max(video.width, video.height)).toBeLessThanOrEqual(640); 142 expect(Math.min(video.width, video.height)).toBeLessThanOrEqual(480);
|
| /expo/apps/native-component-list/src/screens/ImagePicker/ |
| H A D | ImagePickerAssetsList.tsx | 18 {asset.type === 'video' ? ( 21 style={styles.video} 52 video: {
|