Have fun with Mark's ChatSpeak! And see how it is integrated with other directives
We used Voice RSS to process our TTS but Voice RSS limits the number of requests to be 350 daily.
So sometimes the TextSpeak (which this directive depends on) may not work since the limitation is
reached. This will cause the speaking function of this directiv stop working.
Simply select a video from the drop down box below and ActionLink will do the rest:
Here is what was going on as you select a video from the dropdown above:
1). The selection changed is detected by the ActionLink and carries out his actions:
This is a perfect integration of three directives: YoutubeSearcher, ActionLink and ChatSpeak!
2). The ActionLink switches the dropdown box in the chat to "youtube"
3). The ActionLink place the value of selected item in the YoutubeSearcher dropdown into the chat's input field
4). The ActionLink change the text o a hidden div, valid_chatSpeak0, to "off"YoutubeSearcher to turn off validation
5). The ActionLink place video title in a hidden field in the YoutubeSearcher into a hidden title field in ChatSpeak
6). The ActionLink place video image url in a hidden field in the YoutubeSearcher into a hidden image hidden field in ChatSpeak
7). The ActionLink click at the "Send" button in chat
8). The ActionLink recover the dropdown box in chat to "text" so that users can continue to type in chat text.
9). The ChatSpeak collects video ID, title, and thumbnail url and post to chat server...
10). The ActionLink recover the text o a hidden div, valid_chatSpeak0, back to "on" to turn on the validation
Here are some static links using ActionLink. Just click at them:
- Windsuit Fly
- How can pig surf
- Angry goat
- Big bird fly
What ActionLink does after your clicking:
1). switch to Youtube (change the selection at the left-bottom corner); 2). turn off validation; 3). paste the Youtube video ID into the chat input field; 4). click at the send button. 5). Switch back to "text";6). turn the validation back on. Cool?
Source codes of streaming server in Node.js