Skip to main content
Legend
April 16, 2015
Frage

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

  • April 16, 2015
  • 2 Antworten
  • 762 Ansichten

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

}

}

}

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

tdwivedi
Adobe Employee
Adobe Employee
April 17, 2015

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

Legend
April 17, 2015
tdwivedi
Adobe Employee
Adobe Employee
April 17, 2015

Thanks for the update.

Picking up the issue from there.

-Tushar

Legend
April 16, 2015

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!