Highlighted

No video from OSMF with any version of AIR from 14 through 17 - where is bugbase nowadays?

Enthusiast ,
Apr 16, 2015

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();

}

}

}

TOPICS
Performance issues

Views

446

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

No video from OSMF with any version of AIR from 14 through 17 - where is bugbase nowadays?

Enthusiast ,
Apr 16, 2015

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();

}

}

}

TOPICS
Performance issues

Views

447

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 16, 2015 0
Enthusiast ,
Apr 16, 2015

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!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 16, 2015 0
Adobe Employee ,
Apr 16, 2015

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 16, 2015 0
Enthusiast ,
Apr 17, 2015

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 17, 2015 0
Adobe Employee ,
Apr 17, 2015

Copy link to clipboard

Copied

Thanks for the update.

Picking up the issue from there.

-Tushar

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 17, 2015 0
Enthusiast ,
Apr 28, 2015

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 28, 2015 0
Community Beginner ,
Jun 16, 2015

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 16, 2015 0