简体   繁体   English

三星智能电视IME加载问题

[英]Samsung smart TV IME loading issue

I have a ime.js and a html which loads the js to invoke IME. 我有一个ime.js和一个加载js来调用IME的html。 However, the html can not be shown all the time when I run the project and maybe it is just too slow and there is no error message in the console as well. 但是,当我运行项目时,无法始终显示html,也许它太慢了,并且控制台中也没有错误消息。 But when I comment <script type="text/javascript" src="JavaScript/ime.js"></script> in the html, the html can be shown immediately. 但是,当我在html中注释<script type="text/javascript" src="JavaScript/ime.js"></script>时,可以立即显示html。 What might be the problem? 可能是什么问题? Did I miss some configuration? 我错过了一些配置吗?

Any help? 有什么帮助吗? Thanks in advance! 提前致谢!

Please try include script in the end of the body tags: 请尝试在body标签末尾添加脚本:

...
    <script type='text/javascript' src='$MANAGER_WIDGET/Common/IME_XT9/ime.js'></script>
    <script type='text/javascript' src='$MANAGER_WIDGET/Common/IME_XT9/inputCommon/ime_input.js'></script>
</body>
</html>

It's because IME starts work with DOM immediately 这是因为IME立即开始使用DOM

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM