Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/uploaded-video-has-black-edges

# Video shows black edges in Pop-up

### Issue

While creating a Pop-up, the uploaded video displays black edges that are not present in the recorded video.

![TS\_Black\_edges\_video.png](/images/64/TS_Black_edges_video-64786f5f.png)

### Probable Causes

- The video’s dimensions doesn’t match the dimensions of the container frame in the Whatfix Pop-up.
- If the original video is cropped before uploading, the new dimensions might not fit the Pop-up frame, resulting in the black edges.
- The CSS code view of the Pop-up’s height and width has been modified.

### Suggested Solution

Use the following steps to remove the black edges:

1. Select the **Resize options** icon to adjust the video's height and width.
2. Click the **Fit to height** option.
3. Update the pixel values in the **Video height (in pixels)** field to ensure the video fits your widget layout. For more information, see [Resize a video in a Pop-up](https://support.whatfix.com/studio/docs/resize-a-video-in-a-pop-up).

The following GIF illustrates how to remove black edges from your video in a Pop-up:

![Video\_black\_edges.gif](/images/b7/Video_black_edges-b7b8456c.png)

> [!WARNING]
>
> If the issue persists, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Video%20shows%20black%20edges%20in%20Pop-up\&body=Hey%20Team%2C%0A%0AThe%20uploaded%20video%20has%20black%20edges.%20Kindly%20please%20help%20me%20to%20remove%20the%20same.%0AEnt%3A%0A%0AWith%20Regards%2C).
