We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Please add support for older browsers

Home Forums Bug Reports and Feature Requests Please add support for older browsers

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #744
    donalffons
    Customer

    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
    -Sebastian

    #749

    Good 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;
        }
    }
    
    

    Chief 3D Verger | LinkedIn | Twitter

    #751
    donalffons
    Customer

    Perfect. Your quick replies are really important.

    Another quick fix I added in player.html to get IE 11 support is this one.

    #7691
    peterl
    Participant

    Has 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.

    #7692

    Hi,

    Please read here on how to enable the support for Internet Explorer https://www.soft8soft.com/docs/#manual/introduction/FAQ

    Chief 3D Verger | LinkedIn | Twitter

    #7694
    peterl
    Participant

    thanks 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?

    #7703

    To 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.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.