PiRSquared17 / jpegcam

Automatically exported from code.google.com/p/jpegcam
GNU Lesser General Public License v3.0
0 stars 0 forks source link

error using jpegcam in a colorbox on ie8 #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If i load the page with jpegcam it works, but if i load it in a colorobox i
receive an error. You can try it here
http://www.ultimifilm.com/iexam-min/registrazione.php clicking first on
"Scatta una foto" and after on "Scatta". When you click on "Scatta"
internet explorer points an error in this block of code:

function __flash__addCallback(instance, name) {
  instance[name] = function () {
    return eval(instance.CallFunction("<invoke name=\""+name+"\"
returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) +
"</invoke>"));
  }
}

on the line: return eval(instance.CallFunction("<invoke name=\""+name
+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,
0) + "</invoke>"));

but i haven't this code in my javascripts so i don't know how i can
fix it... do you think that is possible to fix it? thanks 

Original issue reported on code.google.com by neoch...@gmail.com on 3 Jun 2010 at 9:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

i've the same problem. It's certainly the flash in the MSIE8. In my tests its 
work don't work anyway.

I need help, for this problem.
THANKS

Original comment by frederic...@gmail.com on 14 Mar 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Have the same issue

Original comment by vojtos...@gmail.com on 5 Sep 2011 at 1:15

GoogleCodeExporter commented 9 years ago
Hello all..There is a solution for this..In the colorbox code

  $('#something').click(function(){
                            $.colorbox.init();

                            $('#content').show();
                            /**here is the change***/
                            $.getScript(baseurl+"/js/webcam/webcam.js");
                            $.getScript(baseurl+"/js/foo.js");
                            /*end**/                                   

                            $(this).colorbox({

                                inline:true,
                                //opacity:0.0,
                                href:'#content',
                                onLoad:function(){
                                    $('#cboxClose').hide();

                                },
                                onClosed:function(){

                                }
                            });
                        });

In ie8 showing and hiding a div with flashcontent has some problems,..so the 
scripts related to that must be reloaded

Original comment by mailo...@gmail.com on 25 Sep 2013 at 4:15