Ask Your Question
0

Why isn't the video playing when using a Uri link in VideoView?

asked 2022-05-07 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-13 00:00:00 +0000

bukephalos gravatar image

There could be several reasons why the video is not playing when using a Uri link in VideoView:

  1. 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.

  2. 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.

  3. 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.

  4. The video file may be damaged or corrupted. Try playing the video on another device to see if it works.

  5. 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-05-07 11:00:00 +0000

Seen: 9 times

Last updated: Dec 13 '21