Does WebCam on Mac Chrome work?


the code below works fine on windows 7 firefox, mac firefox, mac safari not in mac chrome. player asks webcam access videodisplay stays dark , camera light not switched on. not work chrome fp , debug fp in chrome. supposed work?

marc

 

 

<?xml version="1.0" encoding="utf-8"?>
<s:application xmlns:fx="http://ns.adobe.com/mxml/2009"
                  xmlns:s="library://ns.adobe.com/flex/spark"
                  xmlns:mx="library://ns.adobe.com/flex/mx"
                  minwidth="955" minheight="600"
                  applicationcomplete="init(event)"
                  >
     <fx:script>
          <![cdata[
               import mx.controls.alert;
               import mx.events.flexevent;
               
               private function init(event:flexevent):void {
                    var camera:camera = camera.getcamera()
                    if (camera) {
                         _video.attachcamera(camera)
                    } else {
                         alert.show("you don't seem have camera available!");
                    }
               }
          ]]>
     </fx:script>
     <mx:videodisplay id="_video" width="100" height="100" />
</s:application>

this works me on mac osx 10.5 chrome 6.0.472.55.  maybe try updating chrome version?




More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい