The deviceorientation event is deprecated on insecure origins...

edited October 2016 in Other
"The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."

This warning started appearing today and happens when the site is being viewed in mobile or tablet. After the warning message, a list of error messages appear that is related to images: 

"Failed to load resource: the server responded with a state of 404 (Not Found)." 

The images are loaded and showing successfully but the gif in our home page freezes after a couple frames and stays stuck. We are not sure if its because of the warning messages. Here is a link the afflicted page:

color.hdkmedia.com

The gif no longer works on mobile or tablet (Samsung S6, Iphone 5, iPad Mini, mobile and tablet simulator on Chrome and Mozilla).

Here is a imgur link to a screenshot that I took of the issue. I was viewing the messages on Google Chrome.

 
Is the warning involving the deviceorientation event causing the scripts to not work as intended?

Comments

  • Hi,

    you got these warnings because you disabled Retina.js | Disable option under Theme options > Addons & Plugins > Addons section but you do not use retina images. So please enable this option and warnings would disappear.
  • Hello muffingroup,

    Thank you for your prompt response. The option has been re-enabled but the warning persist with different errors messages:

    "Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause()."

    Highlighting the warning link is pointing at a code snippet: a&&(window.ondeviceorientation=function(t), which is in Revolution Slider.

    Highlighting the error link is pointing at the Vimeo Player that is being used in the Revolution Slider.

    Please advise, this is definitely an interesting problem.
  • Please send us link to page where you got "these" so we can have a look on it.
  • Hello muffingroup,

    Here is the link:


    The error messages are shown when the page is viewed in mobile or tablet.

    Thanks!
  • We did checked your site but we really didn't found anything related to theme.
Sign In or Register to comment.