Skip to content

Pinchable not working for video element #18

@RoyalBosS-Ayush

Description

@RoyalBosS-Ayush

Sample Code

import Video from 'react-native-video';
import Pinchable from 'react-native-pinchable';

<Pinchable>
            <Video
                        source={{ uri: props.uri }}
                        style={{
                            width: desiredSize.width,
                            height: desiredSize.height,
                            borderRadius: 25
                        }}
                        onLoad={handleVideoLayout}
                        muted={muted}
                        onError={handleError}
                        paused={props.paused}
            />
</Pinchable>

Thankfully it worked for Image & FastImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions