|
By mharrsch - 19 Years Ago
|
|
I am trying to embed a CrazyTalk web-based character into a .php page. CrazyTalk doesn't recognize .php as a type of web page so I attempted to use
|
|
By RKD - 19 Years Ago
|
Something went wrong here on the forum, because you used some HTML tags in your post, but I could read your message from the source code. I will take a look at your examples and try to get a clue. :)
Later!
PS: In order to post HTML/PHP/etc. on the forum you need to use "Code" IFcode, accessible from the top of the message compose box.
|
|
By RKD - 19 Years Ago
|
Something went wrong here on the forum, because you used some HTML tags in your post, but I could read your message from the source code. I will take a look at your examples and try to get a clue. :)
Later!
PS: In order to post HTML/PHP/etc. on the forum you need to use "Code" IFcode, accessible from the top of the message compose box.
|
|
By RKD - 19 Years Ago
|
OK, there's is no iframe on the given webpage, so nothing for me to check ... but:
Solution: When you click on "Insert to..." and CrazyTalk prompts you to select the webpage, manually type *.* into the box where you would normally put the file name, then hit Enter. All files will be displayed and you can select your PHP file.
EDIT: Hm, too fast, CrazyTalk alerts it doesn't like the PHP file type.
|
|
By RKD - 19 Years Ago
|
Maybe you could manually put a dummy HTML page, something like an empty text file you created with Notepad and saved as maybe crazytalk.htm to the same folder on your local HD as your PHP file, which you can then select from CrazyTalk.
Hope this helps. :)
|
|
By mharrsch - 19 Years Ago
|
Sorry, I just included URLs to my files and the forum apparently didn't like that.
My main problem is, if I try to embed a Crazy Talk character into a php page, only half of the image appears. I can hear the sound file but can't see the lower part of the face to see if the lips move. I tried embedding the CT character into a plain web page then using iframe code to embed it into my PhP page but I got the same result - about the lower 1/3 of the character image does not display. I double checked the image size and I used an image that was only 200X200 pixels. The iframe command sets that size at 256X256 so that should be adequate. I even tried increasing the size to 356X356 but no more of the image was displayed than with the default settings.
|
|
By RKD - 19 Years Ago
|
That's quite strange, because for the browser, who renders the page including the CrazyTalk player, there is no difference between a webpage with or without PHP, as the code is handled completely server side and the browser just gets to see the final HTML output...
Do you have an example online that I/we could take a look at?
|
|
By mharrsch - 19 Years Ago
|
Yesterday, I figured out that if I use standard iframe syntax and not the "styled" syntax supplied by Crazy Talk I get a much better result. I've added a a talking greeting to my home page. Now my only problem is that the autoplay does not appear to work. I wonder if it is not playing because it recognizes that I have opened the file and played the script before and this info is stored in my cache?
Also, I just asked one of my colleagues to view my page with Firefox and instead of prompting him to download the CT plugin like it does for Explorer, it said no plugin for Firefox is currently available. Is this so?
|
|
By mharrsch - 19 Years Ago
|
|
I just did some more research and found that the autoplay works with IE. Just not with Firefox. Is there going to be a plugin developed for the Mac?
|
|
By Cricky - 19 Years Ago
|
You only need to Open the sub-menu of Firefox to see the Auto-play work in Firefox. Just open it in an IE Tab. Works fine and if you reload (F5) it works on Auto-play again, so it's not being stored in the cache.
To open in the IE Tab just right-click on the link
|
|
By RKD - 19 Years Ago
|
|
(double post) :blink:
|
|
By RKD - 19 Years Ago
|
I hast had a look on your website, the talking character was shown correctly and in full, and it did autoplay, in Internet Explorer and Firefox. Very well done! :)
The player for Firefox can be installed manually from the CrazyTalk webplayer & TTS component web page.
For greatest possible compatibility in respect of the various browsers and platforms it is often recommended to use Flash. This is done by converting the CrazyTalk outpout (video) to the Flash format and then embedding that instead of the CT player. Apart from Flash there are many tools available form third parties for the conversion. It was also announced on the old forum that the next version of CrazyTalk will support export to Flash.
|