- Added support for video previews alongside existing image previews. - Introduced helper functions to detect video URLs and display media accordingly. - Updated URL widget handling to show the appropriate media type based on the input URL. - Improved error handling for media loading failures. This change enhances the user experience by providing a seamless way to preview both images and videos.