No video from OSMF with any version of AIR from 14 through 17 - where is bugbase nowadays?
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();
}
}
}
