A survey site doesn't work - FF 50.0
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>
Выбранное решение
When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.
Прочитайте этот ответ в контексте 👍 1Все ответы (3)
Выбранное решение
When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.
Thanks Fred. Seems Flash is the culprit...
Glad to help. Safe Surfing.