API
...
Embedding Legacy Digital Human...
Embed using iframe
3 min
in addition to docid\ tdwdj0bo8et9f0k9o5kvb , you can also embed digital human to your website or application using iframes this approach won’t let you change the styling, so any css or javascript will be ignored to do this you will need to use the public url obtained during the head creation process, including the api key parameter, as the source of the iframe if your digital human uses streaming mode , https //docs unith ai/unith embed integration guide to check whether your digital human is in legacy or streaming mode, https //docs unith ai/update a digital human#retrieving current configuration of your existing if the digital human configuration states that videostreaming=true then your digital human is in streaming mode example \<iframe src="https //chat unith ai/public org id/public head id?api key=c6d416332e274eefbb22cdbe55343430e7" width=900px height=400px allow="microphone">\</iframe> to allow the digital human to access the user’s microphone you will need the allow=”microphone” attribute sizing the digital human display will adjust to fit any container, presenting a distinct layout for landscape and portrait orientations when employing relative css sizing such as percentages or media queries when employing fixed dimensions, it's advised to present the digital human in landscape mode with a minimum width of 900px and height of 400px this guarantees comfortable readability of chat contents