Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. using videoDisplay create a video player set autoPlay = true
2. we use this function to play the source from whats passed in and then play which is a video object we created and video.data is the url to the flv. we also use progressive download. this only gives problems from server works fine from local source.
public function playSource( video:Object, autoplay:Boolean=false ):void {
_viewport.videoDisplay.close();
_viewport.videoDisplay.source = null;
_viewport.resetAds();
_viewport.stopAll();
_autoplay = autoplay;
trace("[VIDEO MANAGER] Loading video from: " + video.data);
//set auto bandwidth detection to false if we're playing RTMP streams
//so the main.asc is not required on the flash media server
if(video.data.match(/rtmp:\/\//i) != -1)
_viewport.videoDisplay.autoBandWidthDetection = false;
else
_viewport.videoDisplay.autoBandWidthDetection = true;
trace("[VIDEO MANAGER] autoBandWidthDetection", _viewport.videoDisplay.autoBandWidthDetection);
_viewport.videoDisplay.source = video.data;
_viewport.videoDisplay.load();
if(_viewport.videoDisplay.source) {
try
catch( err:Error )
{ _viewport.videoDisplay.source = null; }}
_video = video;
setSmallSource(_video);
_viewport.videoDisplay.source = _video.data;
_viewport._video = _video;
trace("\n[videoManager] playerheadtime= " + _viewport.videoDisplay.playheadTime +"\n" );
_viewport.videoDisplay.play();
var cuemng:CuePointManager = _viewport.videoDisplay.cuePointManager.valueOf();
var cuearray:Array = [
,
{name:"overlay",time:15}];
cuemng.removeAllCuePoints();
cuemng.setCuePoints(cuearray);
_viewport._overlayserved = false;
}
3.
Actual Results: video loads but no video plays only audio from server works fine from local source
Expected Results: video plays with sound
Workaround (if any):