There could be several reasons why the video is not playing when using a Uri link in VideoView:
The Uri link may be invalid or incorrect. Double-check the link to ensure that it is correctly formatted and points to the correct video file.
The video format may not be compatible with VideoView. VideoView supports a limited number of video formats such as MP4 and 3GP. Check the video format and make sure that it is supported by VideoView.
The device's media player may not be able to access the internet. Ensure that the device is connected to the internet and has a stable connection.
The video file may be damaged or corrupted. Try playing the video on another device to see if it works.
The VideoView object may not be properly configured. Check the VideoView's layout and ensure that it is properly defined and added to the activity's view hierarchy.
Asked: 2022-05-07 11:00:00 +0000
Seen: 9 times
Last updated: Dec 13 '21