- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set delay some seconds for function
setTimeout(function(){
intel.xdk.player.playSound(intel.xdk.webRoot + "sounds/1.wav");
}, 3000);
not work ??
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, the XDK base object has been deprecated, so intel.xdk.webRoot will not work. Please use window.location.href to get the webroot. See this post on how to do that : http://stackoverflow.com/a/21392617
Second, to use the player APIs, you have to add Intel XDK Player plugin through plugins management under Projects tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok
thanks
how can i set input number from input text as variable x ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
setTimeout(function(){
intel.xdk.player.playSound(intel.xdk.webRoot + "sounds/1.wav");
}, x);
x is variable from input text box how i can do it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you clarify the question little bit? Also, if it's not related to this topic then please open another topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
its another question its my 1st use of intel XDK
how can get text number like 7 from text box to variable x value

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page