This tutorial will teach you how to embed a YouTube video iframe in a phonegap app. In this tutorial, I am using phonegap version 1.2.0. Youtube will automatically convert the flash video into HTML5 video tag so you don’t have to worry about encoding the video. HTML: Go to YouTube and get embed code for [...]
Continue reading Embed a YouTube video iframe in a phonegap app
14 Jan, 2012
Display a location-aware google map on page load with jQuery mobile
Posted in: Javascript,Snippets
The following snippet of code will display a google map with user’s default location on jQuery mobile page if location services is enabled. Otherwise, it will use predefined lat and long values to create the map. The code uses jQuery mobile pagecreate event. A little info on jQuery mobile pagecreate event: pagecreate Triggered when the [...]
Continue reading Display a location-aware google map on page load with jQuery mobile
Hello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more 

