Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17140] TiAPI : MediaPlayer don't speak chinese/korean/japanese

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.3
Fix Version/sn/a
ComponentsTiAPI
Labelsn/a
ReporterBaharroth
AssigneeUnknown
Created2014-04-09T12:23:45.000+0000
Updated2018-02-28T20:03:14.000+0000

Description

Steps to Reproduce

First Use this url : http://translate.google.com/translate_tts?tl=ja&q=%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF (Hello in japanese) In your Chrome browser. it's ok. But if you use it with the media player with ti.media.player { url : http://translate.google.com/translate_tts?tl=ja&q=%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF } You will heard something, but it's no japan but some noise :) It doesn't work with chinese,arabic,japanese but work with latina langage and russia.

Actual Result

Some noise

Expected Result

The same voice as in your browser.

Comments

  1. Ritu Agrawal 2014-05-27

    Please provide a runnable test case to reproduce this issue.
  2. Baharroth 2014-05-30

    My test case is simple and clear. I provide you one url. Check this url in your chrome browser : http://translate.google.com/translate_tts?tl=ja&q=%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF Then try with the titanium media player : ti.media.player { url : http://translate.google.com/translate_tts?tl=ja&q=%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF } Same URL, two different sounds because titanium media player doesn't support exotic langage.
  3. Ritu Agrawal 2014-06-11

    Moving this to engineering as I can reproduce this issue with the test case. Test case:
       var w = Ti.UI.createWindow({backgroundColor:'white'});
       var b = Ti.UI.createButton({title:'Play'});
       var m = Titanium.Media.createAudioPlayer({
           url: 'http://translate.google.com/translate_tts?tl=ja&q=%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF'    
       });
       b.addEventListener('click', function () {
           m.play();
       });
       w.add(b);
       w.open();
       

JSON Source