Can we script to atomate the installestion of 3D Life Player for Virtools?

(4 posts) (3 voices)
  1. Jeeva3m

    veteran
    Joined: Sep '14
    Posts: 131

    Hi friends,

    As we know, if we upload a .vmo file on web, while running, it asks to install 3D Life Player....
    Unfortunately my new clients and viewers are not computer-guys. They used to wonder that nothing plays and they would say, to play the project, it asks some plugins like that.

    So i would ask you that, is there a way to script or do something so that, when the user tries to play the virtools content, the 3D Life Player should automatically be installed.... It makes their EXPERIENCE easier...
    Is it possible?

    Please share if there is..
    jeeva

    Posted 1 year ago #
  2. tomy

    Honorary Community Marshall
    Joined: May '08
    Posts: 753

    Source: http://www.3dvia.com/blog/products/3dvia-player/embed/

    1- A first HTML page (install.html) used to check the 3DVIA Player installation or if it's the player's last version. This page can look like the following sample:

    <html>
    <head>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/DetectBrowser.js"></script>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer_last_version.js"></script>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer.js"></script>
    </head>

    <body>
    <script language="JavaScript">
    redirectionURL = "http://www.website.com/player/run.html";
    Generate3DLifePlayerHtmlTagForInstall("<img src='install_now.gif' width='110' height='26' border='0' alt='Click the button to begin installation.'>");
    </script>
    </body>
    </html>

    2- A second HTML page (run.html) which runs the 3DVIA Player. The first page (install.html) redirects the user to this page once the 3DVIA Player version has been checked or when the 3DVIA Player has been installed (modifying the variable redirectionURL). This page can look like the following sample:

    <html>
    <head>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/DetectBrowser.js"></script>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer_last_version.js"></script>
    <script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer.js"></script>
    </head>
    <body>
    <script language="JavaScript">
    Generate3DLifePlayerHtmlTag("3dlifeplayer.vmo",256,80,"Virtools");
    </script>
    </body>
    </html>

    That said, you could replace the "install_now" image with a link to the msi file directly - http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayerFULL.msi

    Posted 1 year ago #
  3. Jeeva3m

    veteran
    Joined: Sep '14
    Posts: 131

    Thank you tomy...
    Your share was superb and useful...

    Posted 1 year ago #
  4. tomy

    Honorary Community Marshall
    Joined: May '08
    Posts: 753

    Good to hear it's not just superb but superb AND useful!
    Glad I could help.

    Posted 1 year ago #

Reply

You must log in to post.