Home › Forums › Bug Reports and Feature Requests › Please add support for older browsers
- This topic has 6 replies, 3 voices, and was last updated 6 years, 1 month ago by Yuri Kovelenov.
-
AuthorPosts
-
2017-11-25 at 5:36 pm #744donalffonsCustomer
Hi!
I have a client, who likes Verge3D (I think :) ). However, he is reporting the following error messages with any Verge3D project
Uncaught TypeError: Object.values is not a function
.I did a little research and found that the object.values method is only supported since Chrome 54, Firefox 47, Safari 10.1 or Edge (these versions are ~1 – 1,5 years old). It does not work with internet explorer at all.
It seems like there is a relatively simple fix for this issue.
Is there any chance that you can implement a version of Verge3D that better supports older browsers and internet explorer? Me and my client would greatly appreciate that :) .
[As an example: The company I am working in does not update the software on their employee’s computers very regularly. Most people are using internet explorer as their web browser. It would not be good if all those people don’t have access to Verge3D content]
Best regards
-Sebastian2017-11-25 at 6:35 pm #749Yuri KovelenovStaffGood catch! We definitely should fix that. Meanwhile you can use a shim as suggested on that page:
if (typeof Object.values != "function") { Object.values = function(obj) { var res = []; for (var i in obj) if (obj.hasOwnProperty(i)) res.push(obj); return res; } }
2017-11-25 at 7:02 pm #751donalffonsCustomerPerfect. Your quick replies are really important.
Another quick fix I added in player.html to get IE 11 support is this one.
2018-09-26 at 5:54 pm #7691peterlParticipantHas support for IE been fixed, I see that that trials of products I am making work in chrome but not IE and also the example jewellery and furniture configurator will not load in IE but work perfectly well in Chrome.
We are reviewing verge3D to see if it’s suitable for us to integrate 3D products to our website and would rather it works on IE as we have an older customer base and a higher percentage are still using this.
2018-09-26 at 6:04 pm #7692Yuri KovelenovStaffHi,
Please read here on how to enable the support for Internet Explorer https://www.soft8soft.com/docs/#manual/introduction/FAQ
2018-09-26 at 6:54 pm #7694peterlParticipantthanks for your reply, will need to take a deeper look, I’m not a web coder or familiar with this, when I download the HTML file it seems to be just a holding window, does the ie_compat.js need to be present on every users machine? just the hosting server or where?
2018-09-27 at 7:50 am #7703Yuri KovelenovStaffTo apply this IE compatibility shim to you application:
1. Open your_app.html file with any text editor
2. Search for the line<script src="v3d.js"></script>
3. Copy<script src="ie_compat.js"></script>
and paste it just above that line
4. Save your_app.html file
5. Copy the file ie_compat.js from the build folder to your_app folder.
That should make it work. -
AuthorPosts
- You must be logged in to reply to this topic.