Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

A survey site doesn't work - FF 50.0

  • 3 réponses
  • 1 a ce problème
  • 4 vues
  • Dernière réponse par FredMcD

more options

This survey site - https://www.globaltestmarket.com/ - doesn't work with FF 50.0. Works fine with FF 49.0.1. Also did not work with FF 49.0. All I get is a blank page. I tried wwith FF 50.0 in safe mode and still not working.

Here's the page source:

<script src="https://www.globaltestmarket.com/skin/common/jquery-1.8.3.min.js"></script> <script src="https://www.globaltestmarket.com/skin/common/jquery.webcam.js"></script> <script src="https://www.globaltestmarket.com/skin/common/swfobject.js"></script>

<script> var cameraSubmitted = false; var cameraInfoCallback = function(camera) {

   if (!cameraSubmitted) {
      jQuery.post("detectWebcam.php", {hasWebcam: camera}, function() {
           location.reload();
      });
      cameraSubmitted = true;
   }

}; jQuery(function($) {

       if (swfobject.getFlashPlayerVersion().major !== 0) {
           $("#webcam").webcam({
               width: 0,
               height: 0,
               mode: "callback",
               swffile: "https://www.globaltestmarket.com/skin/common/jscam_canvas_only.swf", // canvas only doesn't implement a jpeg encoder, so the file is much smaller
               onTick: function(remain) {
               },
               onSave: function(data) {
               },
               onCapture: function () {
               },
               debug: function (type, string) {
                   if (string == "No camera was detected.") {
                       cameraInfoCallback(2);
                   }
               },
               onLoad: function () {
                   cameraInfoCallback(webcam.getCameraList().length > 0 ? 1 : 2);
               }
           });
           setTimeout(function() {
               var f = $('#webcam object');
               if (f.size() == 0 || !('PercentLoaded' in f[0])) {
                   // flash is blocked - treat as NO CAMERA
                   cameraInfoCallback(2);
               }
           }, 1000);
       }
       else {
           cameraInfoCallback(2);
       }

}); </script>

This survey site - https://www.globaltestmarket.com/ - doesn't work with FF 50.0. Works fine with FF 49.0.1. Also did not work with FF 49.0. All I get is a blank page. I tried wwith FF 50.0 in safe mode and still not working. Here's the page source: <div id="webcam"></div> <div id="status"></div> <script src="https://www.globaltestmarket.com/skin/common/jquery-1.8.3.min.js"></script> <script src="https://www.globaltestmarket.com/skin/common/jquery.webcam.js"></script> <script src="https://www.globaltestmarket.com/skin/common/swfobject.js"></script> <script> var cameraSubmitted = false; var cameraInfoCallback = function(camera) { if (!cameraSubmitted) { jQuery.post("detectWebcam.php", {hasWebcam: camera}, function() { location.reload(); }); cameraSubmitted = true; } }; jQuery(function($) { if (swfobject.getFlashPlayerVersion().major !== 0) { $("#webcam").webcam({ width: 0, height: 0, mode: "callback", swffile: "https://www.globaltestmarket.com/skin/common/jscam_canvas_only.swf", // canvas only doesn't implement a jpeg encoder, so the file is much smaller onTick: function(remain) { }, onSave: function(data) { }, onCapture: function () { }, debug: function (type, string) { if (string == "No camera was detected.") { cameraInfoCallback(2); } }, onLoad: function () { cameraInfoCallback(webcam.getCameraList().length > 0 ? 1 : 2); } }); setTimeout(function() { var f = $('#webcam object'); if (f.size() == 0 || !('PercentLoaded' in f[0])) { // flash is blocked - treat as NO CAMERA cameraInfoCallback(2); } }, 1000); } else { cameraInfoCallback(2); } }); </script>

Solution choisie

When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

Solution choisie

When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.

more options

Thanks Fred. Seems Flash is the culprit...

more options

Glad to help. Safe Surfing.