You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
true
]]>
The Issue:
The videos work perfectly on Desktop (Windows).
However, on Android devices, the videos fail to play, and nothing appears.
The device logs don't show any specific errors regarding the loading or playback of the video.
Steps I've Taken:
Verified that the online video URL is valid and works in a mobile browser.
Confirmed that the video format is MP4 (H.264 and AAC).
Added the INTERNET permission to android.xml.
Tested with different formats and lower resolutions (720p and 480p), but the issue persists.
Question:
Has anyone encountered this issue before or knows why Feathers VideoPlayer might fail to play videos on Android? Is there an additional configuration I am missing?
Any help or suggestions would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Feathers VideoPlayer to play videos in my project. The videos work perfectly on Desktop (AIR) but fail to play on Android devices.
Project Details:
Frameworks:
Feathers 3.5.0
Starling 2.3
AIR SDK: Version 50.1
Test Devices:
Android 12 and Android 14
Video Details:
The video is being loaded from an online URL:
https://fdpco.ir/Download/VideoHelpMobileMasterWin/mostatili.mp4
Video format: MP4 (H.264 for video and AAC for audio).
Relevant Code:
mVideoPlayer = new VideoPlayer();
true ]]> The Issue: The videos work perfectly on Desktop (Windows). However, on Android devices, the videos fail to play, and nothing appears. The device logs don't show any specific errors regarding the loading or playback of the video. Steps I've Taken: Verified that the online video URL is valid and works in a mobile browser. Confirmed that the video format is MP4 (H.264 and AAC). Added the INTERNET permission to android.xml. Tested with different formats and lower resolutions (720p and 480p), but the issue persists. Question: Has anyone encountered this issue before or knows why Feathers VideoPlayer might fail to play videos on Android? Is there an additional configuration I am missing? Any help or suggestions would be greatly appreciated.mVideoPlayer.addEventListener(Event.READY, onVideoPlayerReady);
mVideoPlayer.addEventListener(TouchEvent.TOUCH, onVideoTriggid);
mVideoPlayer.addEventListener(FeathersEventType.CLEAR, videoPlayer_clearHandler);
mVideoPlayer.addEventListener(Event.COMPLETE, videoPlayer_complete);
mVideoPlayer.addEventListener(Event.IO_ERROR, IO_ERROR);
mVideoPlayer.addEventListener(MediaPlayerEventType.LOAD_PROGRESS, progress);
mVideoPlayer.videoSource = "https://fdpco.ir/Download/VideoHelpMobileMasterWin/mostatili.mp4";
addChild(mVideoPlayer);
mVideoLoader = new ImageLoader();
mVideoPlayer.addChild(mVideoLoader);
private function progress(e:Event):void
{
mVideoPlayer.removeEventListener(MediaPlayerEventType.LOAD_PROGRESS, progress);
mVideoPlayer.play();
}
Android Manifest (android.xml):
Thanks in advance for your time!
Beta Was this translation helpful? Give feedback.
All reactions