News:

Create A Forum Installed

Author Topic: [Code] Voice to Text  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
[Code] Voice to Text
« on: November 14, 2012, 05:23:43 am »
Description: Adds a small icon to some boxes that allows text which will activate Voice to Text recognition where you can speak through a mic and text gets outputted. ONLY WORKS IN GOOGLE CHROME!!!

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>/*Created by Xboi209 - 11.13.12*/$("input:not(:password)").attr("x-webkit-speech","x-webkit-speech");$("textarea[name='message']").each(function(){var $this=$(this);$(this).after("<form action='javascript:void(0);'><input type='text' class='copy_speech' size='100' x-webkit-speech='x-webkit-speech'></form><a href='javascript:;' class='append_speech'>Copy text to textarea</a>");$("a.append_speech").click(function(){$this.append($(this).closest("div").children("form").children("input.copy_speech").val())})});</script>
« Last Edit: November 14, 2012, 05:41:06 am by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


Offline Lionel

  • Newbie
  • *
  • Posts: 30
  • Karma: -2
    • View Profile

Badges: (View All)
Karma Bad Level 3 Karma Good
Re: [Code] Voice to Text
« Reply #1 on: November 30, 2012, 12:53:12 pm »
Where can I find those boxes?

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Voice to Text
« Reply #2 on: November 30, 2012, 06:56:46 pm »
It's on almost any box, look at the quick search box for an example. Note that it only works on Google Chrome
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
4478 Views
Last post December 02, 2014, 06:57:57 pm
by CyanProductions
0 Replies
710 Views
Last post August 27, 2011, 06:34:11 pm
by aIURbliS
9 Replies
1325 Views
Last post January 21, 2012, 02:43:23 am
by aIURbliS
1 Replies
757 Views
Last post February 20, 2012, 05:53:59 am
by aIURbliS
2 Replies
674 Views
Last post September 11, 2017, 06:15:12 pm
by Yvi