mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 12:39:17 +00:00
testing android video
This commit is contained in:
parent
1b18d5bc8a
commit
83b9afebc5
@ -10,7 +10,7 @@ export function VideoAsset({ topicId, asset }) {
|
||||
return (
|
||||
<>
|
||||
{ state.url && (
|
||||
<Video source={{ uri: state.url }} style={{ width: state.width, height: state.height }} resizeMode={'cover'} paused={true}
|
||||
<Video source={{ uri: 'https://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4' }} style={{ width: state.width, height: state.height }} resizeMode={'cover'} paused={true}
|
||||
controls={true} onLoad={({ naturalSize }) => actions.setResolution(naturalSize.width, naturalSize.height)} />
|
||||
)}
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user