Community Questions & Answers

Youtube iframe not working anymore on ios8

Hello! To display videos in my app I have been using the [youtube iframe solution](https://developers.google.com/youtube/iframe_api_reference?hl=nl#Getting_Started) on ios7 successfully for a while. Since I switched to ios8 the videos keep on buffering...

Huge height gap in webview

I get a lot of white spaces in the webview even though I have use ~~~ webView.addEventListener('load', function(e){ actualHeight = e.source.evalJS("document.height;"); e.source.height = textContentActualHeight; }); ~~~ to set the exact...

Restart YouTube video

I added a webview to a view and loaded a YouTube video (the url property is filled with a youtube video url): when I click the youtube red start button in the middle of the webview, iOS opens the native video player. When the video stops playing (simply...

WebView not is not displayed. Android

Hi All! I have this code app.js: ~~~ Ti.include('logic/ui.js'); /* some code */ mainWindow.open(); ~~~ ui.js: ~~~ var mainWindow = Ti.UI.createWindow({ title : 'Main Window', backgroundColor:'transparent', exitOnClose : true, ...

Fireevent not call on device in webview

Hello Team, I am developing an app in which I am implementing a webview which loads local html file. I need to pass some data to html to use there. I am using fireevent in my js and passing data and added eventlistener in html. When I access the webview...

Opening a PassBook from Webview

Hi all im trying to generate passbook if i open this url from Safari in the mac [http://www.scsoft.it/pass/](http://www.scsoft.it/pass/) it generate the pkpass file and i can download it if i try to download it from the webview i have an error on form...

android blank web view

I am using Titanium Classic, 3.3.0. I have a couple of web views in a tabbed based application which work well on iOS but on Android, it seems that the webview is blank until the user touches the screen (sometimes), so it is inconsistent. I have tried...

Choosing between Alloy and HTML5

I realize this is very much a loaded question but I am very interested in the opinions of the community. My background: I've built a few titanium apps using the standard SDK (not alloy), most have been utility style apps. I'm looking to build a...

How to use a value attained from a webview

I have a titanium app that is a combination of web views and titanium views. I know how to get a value from a web view but I can not seem to figure out how to use the value in a function in the titanium app. Basically I have a list that needs to be...

Pass Details to Remote 3rd Party Form

Hey folks, I'm doing some research on trying to pass data to a form. What I am hoping to do is pass some data from my app into a remote webpage that I don't control. The remote page is a third party booking form which I would like to prefill with some of...

Problems with Localization

I am using the exact same project as my colleagues, however, when I get to the step in the compiler of generating i18n files, it skips the "Compiling Localization Files" step. I have the latest dev version of alloy which we originally thought was...

how to change font size in webview

how to change font size in webview, i itred changing font size but its not working here is the code ~~~ var currentWin = Ti.UI.createWindow({ backgroundColor: '#fff', }) ; var view = Titanium.UI.createView({ layout : 'vertical', }); var view1 =...

Exact Web View Content Height

~~~ loader_func = function() { /* * Disable Touch for now. */ web_content.touchEnabled = false; if(web_content.evalJS("document.height;") > the_screen.getDeviceHeight()) { ...

Detect video play in webview

I am showing a web page in webview which includes a video. The video is playing fine on both iOS and android. What I need is a way to know when the video streaming starts in the webview? I need to do something when this happens. Is there some kind of...

Android Webview blank

Trying to build an in-app viewer for external documents (url supplied by an API) ~~~ <Alloy> <Window id='docView'> <View class='header'> <Label class='headerLabel' id='title'>MY...

Showing 1-50 of 1,879 1 2 3 4 5 638