Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

A survey site doesn't work - FF 50.0

  • 3 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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>

Избрано решение

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

Прочетете този отговор в контекста 👍 1

Всички отговори (3)

more options

Избрано решение

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.