// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`VideoPlayer rendering > background mode > renders gradient fallback when no videoUrl 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      undefined,
    ]
  }
>
  <LinearGradient
    colors={
      [
        "#FF6B35",
        "#E55A25",
      ]
    }
    end={
      {
        "x": 1,
        "y": 1,
      }
    }
    start={
      {
        "x": 0,
        "y": 0,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="linear-gradient"
  />
</View>
`;

exports[`VideoPlayer rendering > background mode > renders video view when videoUrl is provided 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      undefined,
    ]
  }
>
  <VideoView
    contentFit="cover"
    nativeControls={false}
    player={
      {
        "currentTime": 0,
        "duration": 100,
        "muted": false,
        "pause": [MockFunction],
        "play": [MockFunction] {
          "calls": [
            [],
          ],
          "results": [
            {
              "type": "return",
              "value": undefined,
            },
          ],
        },
        "playing": false,
        "replace": [MockFunction],
        "volume": 1,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="video-view"
  />
</View>
`;

exports[`VideoPlayer rendering > custom gradient colors > renders with custom gradient colors when no video 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      undefined,
    ]
  }
>
  <LinearGradient
    colors={
      [
        "#FF0000",
        "#0000FF",
      ]
    }
    end={
      {
        "x": 1,
        "y": 1,
      }
    }
    start={
      {
        "x": 0,
        "y": 0,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="linear-gradient"
  />
</View>
`;

exports[`VideoPlayer rendering > preview mode > renders gradient fallback when no videoUrl 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      undefined,
    ]
  }
>
  <LinearGradient
    colors={
      [
        "#FF6B35",
        "#E55A25",
      ]
    }
    end={
      {
        "x": 1,
        "y": 1,
      }
    }
    start={
      {
        "x": 0,
        "y": 0,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="linear-gradient"
  />
</View>
`;

exports[`VideoPlayer rendering > preview mode > renders video view when videoUrl is provided 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      undefined,
    ]
  }
>
  <VideoView
    contentFit="cover"
    nativeControls={false}
    player={
      {
        "currentTime": 0,
        "duration": 100,
        "muted": false,
        "pause": [MockFunction],
        "play": [MockFunction] {
          "calls": [
            [],
          ],
          "results": [
            {
              "type": "return",
              "value": undefined,
            },
          ],
        },
        "playing": false,
        "replace": [MockFunction],
        "volume": 1,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="video-view"
  />
</View>
`;

exports[`VideoPlayer rendering > preview mode > renders with custom style 1`] = `
<View
  ref={null}
  style={
    [
      {
        "backgroundColor": "#000",
        "overflow": "hidden",
      },
      {
        "borderRadius": 20,
        "height": 220,
      },
    ]
  }
>
  <LinearGradient
    colors={
      [
        "#FF6B35",
        "#E55A25",
      ]
    }
    end={
      {
        "x": 1,
        "y": 1,
      }
    }
    start={
      {
        "x": 0,
        "y": 0,
      }
    }
    style={
      {
        "bottom": 0,
        "left": 0,
        "position": "absolute",
        "right": 0,
        "top": 0,
      }
    }
    testID="linear-gradient"
  />
</View>
`;
