-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : "It is impossible to load the stylesheets." #1
Comments
In main.js the line "if(environment.bgplayDom.css("margin-left") === "-10px")" is blocking to load. the value stays and remain 5px. Removing the if made the widget to appear. |
Hi phantez, Please, make sure that in your modules/css/bgplay.css the margin-top in 4th line (here: https://github.com/compunet/BGPlay.js/blob/master/modules/css/bgplay.css#L4) is what is checked in the if clause, and that there are no other declarations in your page involving bgplayjs dom elements. Alternatively you can change the css line checked. However, I hope to find a more elegant and cross-browser way in the future to check the application of the css. |
On my browsers (Firefox and Crome on MacOS) the value stays to 5px and never goes to -10px. However the animation works well if I skip that check. |
However it wait for 10 seconds and displays "It is impossible to load the stylesheets."
I tried to follow the code path with a javascript debugger but wasn't able to find out what was not loading correctly.
The text was updated successfully, but these errors were encountered: