_itemFailedToPlayToEnd { kind = 1; new = 2; old = 0; }
Hi, I am trying to Play a youtube in Video Player by passing it url likehttp://www.youtube.com/embed/"+ggBFGPXHvOc+"?fs=1&autoplay=1 It gives me following error. _itemFailedToPlayToEnd { kind = 1;...
View Articleis it possible to prevent webviews on scrollableview from reloading when...
example code: var win = Ti.UI.createWindow({backgroundColor: 'black'}); Â var scrollableview = Ti.UI.createScrollableView({ top: 0, height: 300, cacheSize: 10, }); Â var webview = Ti.UI.createWebView({...
View Articlestop a webview scrolling to the right?
Is it possible to use a webview and stop it from allowing scroll to the right into white space. I have a fixed with on the webview, on the HTML inside it, but it still scolls. I want the webview to...
View Articleinject html into a webview
Hi all, I am wondering if it is possible to inject html into a webview in titanium. What I mean is, could I have the following webview: var obitWebView = Titanium.UI.createWebView({ url:obitURL,...
View ArticleLink should be clickable in webview description
HI Iam using webview and the data is being retrieved from database. My data contains some weblinks inside that description, so I want those links should be clickable, I mean whenever a link is clicked...
View ArticleButton bar - how would you create this?
Hi guys, I'm just started learning Titanium and stumbled into at problem. I want to create a Button bar. I can't use the build in Titanium.UI.ButtonBar since I need to change the fontSize and...
View ArticleUsing jquery to set value of a textbox in WebView
Hi, I am loading an external URL using a webview. I would like to use jquery and set a value of a text box, but i have been struggling with it for hours. here is a sample code: var self =...
View ArticleLocal HTML Not Appearing WebView
Hi, I have a html file that I have tested and it is loading fine when I go to Open With Web Browser from Titanium. The issue I'm facing is getting it display in a WebView: <View...
View ArticleWebView PHP page not rendering - code displayed
Hi, I have a WebView which has a url to a php page i created. I've installed PHP in Titanium however on running the app, the code itself appears in the WebView i.e. its not rendered. Is there something...
View ArticleOpening a particular places when map opens in webview
Hi All, I'm opening Google maps in webview as follow.var wv = Ti.UI.createWebView({ url:address, top:50, enableZoomControls:true, touchEnabled: true }); win.add(wv);Now, I want to show an annotation...
View ArticleTi.App.fireEvent inside webview - Android emulator
Hi all, I would like to know if I am the only one to have this problem - firing an event from a web view on android amulator 2.3.3 : app.js: var win = Ti.UI.createWindow(); win.open(); Â var web =...
View Articlecontextual action bar
Hi... i need to use the contexual action bar in my android application but currently the titanium sdk not suppoting those feature. so I found that we can extends the function of Titanium SDK by...
View ArticlePass data from controller to html file in WebView
Hi, I have a WebView showing a HTML file. How do i get data from a controller to the HTML file? I've searched around but the answers I've found don't seem very clear - is there some smarter/efficient...
View ArticleHow Run Youtube Video in Landscape Mode in IOS Device using Webview
Hi Friends. I want to run you-tube video in my app using web-view only in landscape mode . Each time it run video in Portrait mode only even I have forcefully change window mode to landscape using...
View ArticleFireEvent When WebView Loads
HI, I followed a tutorial on the Wiki so that i am getting data from a index.js controller to a WebView however at the moment, the fireEvent only occurs when a button is pressed:...
View ArticleURL Parameter Not Showing In WebView
Hi, I have a web view that i'm successfully able to load using: <View class="rightSection"> <WebView id="webview" url="radar-basic.html" /> </View> However when i pass some variables...
View ArticleWebview with facebook or twitter JS SDK causes white page on iOS
Our app uses some webviews which show some pages of our mobile website. Always worked fine until now. Pages didn't load anymore; they would give a flash of the content, but then turned white. After...
View ArticleWebview, prevent target blank from opening in new window & android settings
Hi, I have a remote url, which loads Disqus comments. However on android,when the user needs to authenticate the app automatically opens a new window with a webview. So far I have found no way in...
View Article_itemFailedToPlayToEnd { kind = 1; new = 2; old = 0; }
Hi, I am trying to Play a youtube in Video Player by passing it url likehttp://www.youtube.com/embed/"+ggBFGPXHvOc+"?fs=1&autoplay=1 It gives me following error. _itemFailedToPlayToEnd { kind = 1;...
View ArticleAlloy Webview HTML Custom Font
Hi, I have been trying everything I can find in the Q&A and documentation but nothing works. I am trying to get a Custom Font to work in a HTML Webview in Alloy. Has anyone been able to get a...
View Article