Copy link to clipboard
Copied
Hi,
I am investigating an issue with Samsung S5 and our established video player that has been running live for a couple of years now.
When run on Samsung S5 (not sure what others, but this is the one we discovered it on), video playback fails entirely, 100%, without any explanation or error.
EG: If I create the minimal video playback app as per the below (based on OSMF2), the video utterly fails to display in any way shape manner or form.
Two things on this;
1. I tried logging a bug, but the bugbase has moved _again_ so where can I go to log the bug?
2. Does anybody have any ideas as to the potential cause and (better) any potential resolution?
Thanks,
G
REPLICATE USING THE MINIMAL ACTIONSCRIPT MOBILE APPLICATION BELOW:
package
{
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import org.osmf.events.MediaPlayerCapabilityChangeEvent;
import org.osmf.media.MediaElement;
import org.osmf.media.MediaFactory;
import org.osmf.media.MediaPlayerSprite;
import org.osmf.media.URLResource;
public class MinimalVideo extends Sprite
{
public const URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL:String = "audia5.mp4";
private var player:MediaPlayerSprite;
public function MinimalVideo()
{
super();
// support autoOrients
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
var ve:MediaPlayerSprite = new MediaPlayerSprite();
this.addChild(ve);
player = ve;
player.mediaPlayer.addEventListener(MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE,togglePlay);
trace("Start play");
var mf:MediaFactory = player.mediaFactory;
var ur:URLResource = new URLResource("URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL");
var me:MediaElement = mf.createMediaElement(ur);
player.media = me;
}
protected function togglePlay(event:MediaPlayerCapabilityChangeEvent):void {
trace("Can play change.");
if(player.mediaPlayer.canPlay) player.mediaPlayer.play();
}
}
}
Copy link to clipboard
Copied
PS: For the avoidance of doubt;
var ur:URLResource = new URLResource("URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL");
Should be:
var ur:URLResource = new URLResource(URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL);
But it still doesn't work!
Copy link to clipboard
Copied
Hi,
We will try reproducing this issue at our end. Meanwhile, you can log a bug Here‌ , preferably with a sample project.
Please share the bug number on this thread itself, once you add it.
-Tushar,
Adobe AIR Team
Copy link to clipboard
Copied
Hi,
Bug number is Bug#3971525 - No video playback with Samsung S5 and possibly others
Copy link to clipboard
Copied
Thanks for the update.
Picking up the issue from there.
-Tushar
Copy link to clipboard
Copied
It may be Android version. Please can anybody with an Android 5.0 device check this on their device and comment on the ticket with details if they encounter the bug?
Thanks,
G
Copy link to clipboard
Copied
Hi Gaius,
Have you figured out the solution for fixing the player on SS5 running Android 5.0? Our users recently complaint that they cannot watch the video on their devices - Samsung Galaxy S6, and Galaxy Note 4 with Android 5.0 . It looks like there're some issues with Samsung's Android 5.0 OS because I tested the player on LG G3, and Sony Xperia Z3 and both running Android 5.0 and 5.0.2 respectively, and they have no issues playing the video.
Thanks,
Dan