Skip to content
Snippets Groups Projects
Commit 89918858 authored by Chad Pilkey's avatar Chad Pilkey Committed by Felipe Cecagno
Browse files

force Flash on Edge 15+, fixes #3812

parent d386223d
No related branches found
No related tags found
No related merge requests found
......@@ -64,11 +64,14 @@
attributes.name = "BigBlueButton";
attributes.align = "middle";
attributes.tabIndex = 0;
// In Chrome 56 Google started blocking Flash by default so we force the SWF to
// be loaded in the DOM rather than relying on the SWFObject code to detect
// Flash because it can't.
// Edge 15 also hides the fact that Flash is available so adding a hack for that too.
var browserInfo = determineBrowser();
if (browserInfo && browserInfo[0] === "Chrome") {
if (browserInfo && ((browserInfo[0] === "Chrome" && !navigator.userAgent.match(/android/ig)) ||
(browserInfo[0] === "Edge" && browserInfo[1] >= 15))) {
// Added a sort of callback idea because when this script runs "content" doesn't exist yet
var fillContent = function(){
var content = document.getElementById("content");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment