After the necessary interactive assets and player are correctly placed as describe in the Managing Interactive Assets section for self-hosting methods, you willl be able to embed them into custom web pages. There are two main types of self-hosting, Basic and Complete. The file management methods are different in each method. When the CrazyTalk web player is updated by Reallusion, you will also need to update the related files in accordance with the method you chose. |
||||||||||||||||
Self-hosting Concept - Basic | ||||||||||||||||
The basic self-hosting method (strongly recommended) is that your custom web pages refer to both the Assets
and CrazyTalk Web Player (CTWebPlayer.unity3d) on an accessible domain and a JavaScript file (CTWebPlayer.js)
on Reallusion's server.
|
||||||||||||||||
Self-hosting - Complete | ||||||||||||||||
The complete self-hosting method is when you download
and put the related files such as the CrazyTalk Web Player (CTWebPlayer.unity3d),
the CTWebPlayer.js and some other necessary files on your custom domain with the
web player as shown below:
|
||||||||||||||||
Updating Web Player Related Files | ||||||||||||||||
|
||||||||||||||||
Offline Self-hosting with Local jQuery, UnityObject2 | ||||||||||||||||
When introducing any CrazyTalk Interactive Assets in to your custom web pages, there are fundamental JavaScript code lines must be added into the <head> block of the pages.
These lines access the important JavaScript files for jQuery and UnityObject2,
which can only be accessed online, no matter if you have applied
Basic or Complete self-hosting
methods.
Once you are disconnected from the internet, these two files can not be
accessed any longer, which means that the CrazyTalk Web Player will no longer work. You need to follow the steps below for OFFLINE self-hosting.
|