• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash application video is getting blank in chrome browser

New Here ,
Aug 18, 2017 Aug 18, 2017

Copy link to clipboard

Copied

Once updated chrome version from 59 to 60.0.3112.101 (Official Build) (64-bit), flash web application is not listing camera and microphone driver list. It's displaying empty list. To solve this issue I have stored Camera.names in an array and named such that Camera 1, Camera 2 etc but while starting the video it's getting blank screen .

Below is the sample code which I have used for

private var videodriver:Array = new Array();

private var arrVideoDriver:ArrayCollection = new ArrayCollection();

private function init():void{

videodriver=Camera.names;

for (var i=0; i < videodriver.length; i++){

arrVideoDriver.addItem("Camera " + (i+1));

}

camSelect.dataProvider = arrVideoDriver;

}

private function onStart():void{

var camArray:Array = new Array();

camArray = Camera.names;

var i:int;

if(videoDeviceString == ""){

Alert.show("Please select camera");

return;

}

for (i=0; i < camArray.length; i++){

if (camSelect.selectedIndex == i) {

break;

      }

}

video=new Video();

video.width=vidDisplay.width;

video.height=vidDisplay.height;

camTemp=Camera.getCamera(i.toString());

video.attachCamera(camTemp);

video.smoothing=true;

vidDisplay.addChild(video);

}

Views

459

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
community guidelines
New Here ,
Aug 18, 2017 Aug 18, 2017

Copy link to clipboard

Copied

Please help me to solve this issue.

Votes

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
community guidelines
Adobe Employee ,
Aug 21, 2017 Aug 21, 2017

Copy link to clipboard

Copied

Chrome not requires that all content accessing the camera and microphone be served over HTTPS.  You'll need to update your content to use HTTPS (which means that the SWF itself must be served over HTTPS), or you'll need to use another browser.

Votes

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
community guidelines
New Here ,
Aug 22, 2017 Aug 22, 2017

Copy link to clipboard

Copied

LATEST

I have deployed my application in https server and tested.

Camera & Microphone driver list are getting displayed properly and also  user able to start his own video in latest chrome browser (Version 60.0.3112.101 (Official Build) (64-bit)).

Thank you for your help..

Votes

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
community guidelines