jesalg / wami-recorder

Automatically exported from code.google.com/p/wami-recorder
0 stars 0 forks source link

no security ialog #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Code

---
    function setupRecorder() {
        Wami.setup({
            id: "wami",
            swfUrl: '@Url.Content("~/Scripts/Wami.swf")',
            onReady: setupGUI
        });
    }

    function setupGUI() {
        var gui = new Wami.GUI({
            buttonUrl: '@Url.Content("~/Scripts/buttons.png")',
            recordUrl: "https://wami-recorder.appspot.com/audio",
            playUrl: "https://wami-recorder.appspot.com/audio"
        });

        gui.setPlayEnabled(false);
    }

---
Chrome shoe message
"Security panel never showed up.  Perhaps the browser is zoomed out too far.  
Try to zoom in and refresh."

---
Console show
"
FLASH: External.addCallback: startListening
FLASH: External.addCallback: stopListening
FLASH: External.addCallback: startRecording
FLASH: External.addCallback: stopRecording
FLASH: External.addCallback: getRecordingLevel
FLASH: External.addCallback: startPlaying
FLASH: External.addCallback: stopPlaying
FLASH: External.addCallback: getPlayingLevel
FLASH: External.addCallback: showSecurity
FLASH: check attempts: 0
FLASH: check attempts: 1
FLASH: check attempts: 2
FLASH: check attempts: 3
FLASH: check attempts: 4
FLASH: check attempts: 5
FLASH: failed
"

Original issue reported on code.google.com by suli...@gmail.com on 4 Aug 2012 at 10:50

GoogleCodeExporter commented 9 years ago
Ive got the same problem on some computers

Original comment by julianho...@gmail.com on 12 Oct 2012 at 9:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I thought that I had a solution earlier as it worked I now know the cause. 
Check to see if you have any css styling on the object element. This will cause 
the error, just remove all css on object.

Original comment by bander...@gmail.com on 8 Nov 2012 at 8:22

GoogleCodeExporter commented 9 years ago
I have also got same problem on IE and Firefox. Please tell me solution of this 
problem. I faced it today, earlier it was working fine.

Original comment by lovedeep...@gmail.com on 18 Feb 2013 at 10:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Any solution?I got the same problem on IE 11.

Original comment by forpizin...@gmail.com on 24 Apr 2014 at 2:59

GoogleCodeExporter commented 9 years ago
I'm also seeing this problem lately, but just in Chrome. 

Original comment by andrewmc...@gmail.com on 22 Sep 2014 at 8:20

GoogleCodeExporter commented 9 years ago
Ive got the same #$#$% problem!

this is because wami cannot show flash security window (in zoom out)

solution: force object width and height using css, for example:  

#wami object{ min-width:500px; min-height:300px;}

Original comment by taufp...@gmail.com on 26 Mar 2015 at 12:45

Evan1989 commented 6 years ago

I have same problem on some computers (Chrome). For most clients, everything works correctly. I added in css:

#wami, #wami div, #wami object {
    min-width: 214px !important;
    min-height: 137px !important;
}

but problem dont solved.

Evan1989 commented 5 years ago

Solved by replaced wami to js https://blog.addpipe.com/using-recorder-js-to-capture-wav-audio-in-your-html5-web-site/