When Coding In Html, Why Does Video Load On Some Android Devices And Not Others?
Solution 1:
I think that should be mostly because of video encoding. You should try with some sample video by searching them from internet and once you find some video which is working and your video is not working, then maybe after comparison, you may be able to get find out which all formats are supported on your phone.
For example, refer: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats
Solution 2:
@Darshak, Digish was close to the right answer.
From Supported Media Formats | Android Developers
The table below describes the media format support built into the Android platform. Note that any given mobile device may provide support for additional formats or file types not listed in the table.
Note: Media codecs that are not guaranteed to be available on all Android platform versions are accordingly noted in parentheses—for example "(Android 3.0+)".
- H.263
- H.264 AVC - (Android 3.0+) -
- H.265
- HEVC - - (Android 5.0+)
- MPEG-4 SP
- VP8 - (Android 4.3+) (Android 2.3.3+)
- VP9 - - (Android 4.4+)
You can see the different formats and when they were supported for encoding and decoding. In addition, some formats require hardware, and as the documentation says, the mobile device may provide support for additional formats or file types.
So to completely answer the question, if the mobile device does not provide a solution for decoding the video, then the browser does not provide a solution; and so the HTML does not provide a solution, when the browser does not have a solution.
Post a Comment for "When Coding In Html, Why Does Video Load On Some Android Devices And Not Others?"