Best HTML5 JavaScript Frameworks for Mobile Development


Hits: 12298  
jQuery Mobile - jQuery Mobile
jQuery Mobile – jQuery Mobile

A unified, HTML5-based user interface system for all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.

jQuery mobile framework takes the “write less, do more” mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework allows you to design a single highly-branded web site or application that will work on all popular smartphone, tablet, and desktop platforms.

HTML5 App Development Tools. Build Apps for Any Device with Sencha. - Home - Sencha
HTML5 App Development Tools. Build Apps for Any Device with Sencha. – Home – Sencha

Sencha – powerful design and coding tools, industry-leading JavaScript frameworks, and the support required for serious business app development, Sencha Complete is everything you need to build HTML5-based apps that work perfectly in today’s—and tomorrow’s—multi-device world.

jQTouch — Zepto-jQuery plugin for mobile web development
jQTouch — Zepto-jQuery plugin for mobile web development

A Zepto/jQuery plugin for mobile web development on the iPhone, Android, iPod Touch, and other forward-thinking devices.

jqMobi
jqMobi

jqMobi is lightweight query selector library for mobile devices. It comes with over 60 api calls and jQuery compatible syntax.

Mobilize.js
Mobilize.js

Mobilize.js allows web developers create mobile sites out of existing websites with little effort.
Automatically detect mobile browsers
Easy to integrate – no server side changes needed
Open source – no expensive software or licenses needed
Familiar HTML5, Javascript and JQuery Mobile tools used
Supports iPhone, Android, Blackberry, Opera Mini and many other browsers and devices

iUI - Mobile web framework for high-end devices
iUI – Mobile web framework for high-end devices

Create mobile websites & webapps with a native look-alike in no time. You don’t need to have any HTML5, CSS3 or Javascript skills.
iUI supports iOS, Android, Rim OS6, MeeGo, Bada, WebOS, … smartphones and tablets.

Jo HTML5 Mobile App Framework
Jo HTML5 Mobile App Framework

For iOS, Android, webOS, BlackBerry, Chrome OS & anything else with HTML5 Widgets, lists and scrolling goodness using JavaScript & CSS3 Make native mobile apps or web apps with the same code Works great with PhoneGap.

Zepto.js- the aerogel-weight jQuery-compatible JavaScript library
Zepto.js- the aerogel-weight jQuery-compatible JavaScript library

Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Zepto.

KineticJS HTML5 Canvas Framework
KineticJS HTML5 Canvas Framework

Enterprise class interactive .. web graphics … KineticJS is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.

Lungo - Mobile Framework... and stuff.
Lungo – Mobile Framework… and stuff.

A framework for developers who want to design, build and share cross device applications.

jQWidgets - jQuery, JavaScript and HTML5 Plugins
jQWidgets – jQuery, JavaScript and HTML5 Plugins

jQWidgets is a comprehensive and innovative widget library built on top of the jQuery JavaScript Library. It empowers developers to deliver professional, cross-browser compatible web applications, while significantly minimizing their development time. jQWidgets contains more than 30 UI widgets and is one of the fastest growing JavaScript UI frameworks on the Web.

Trigger.io - mobile platform for web developers
Trigger.io – mobile platform for web developers

Build amazing mobile apps using the best of HTML5 and native…

AngularJS — Superheroic JavaScript MVW Framework
AngularJS — Superheroic JavaScript MVW Framework

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

BarleyJS.com - The lightest Html5 mobile framework
BarleyJS.com – The lightest Html5 mobile framework

BarleyJS is licensed under free commercial and open source licenses for application development, and a paid commercial license for OEM uses.

The-M-Project - Mobile HTML5 JavaScript Framework
The-M-Project – Mobile HTML5 JavaScript Framework

The-M-Project is a Mobile HTML5 JavaScript Framework that helps you build great mobile apps, easy and fast.

The-M-Project is Open Source Software published under the MIT License. This gives you total flexibility for your development. Build great free and commercial apps with it.

Wink toolkit - A mobile JavaScript framework to build great webapps
Wink toolkit – A mobile JavaScript framework to build great webapps

Wink Toolkit is a lightweight JavaScript toolkit which will help you build great mobile web apps. It is designed and developed to meet the specific constraints of the mobile environment.

The toolkit’s core offers all the basic functionalities a mobile developer would need from touch event handling to DOM manipulation objects or CSS transforms utilities. Additionally, it offers a wide range of UI components to help you improve the look and feel of a web app, or simply to experiment with new user interactions.

HTML5 MP3 Lyrics Player


Hits: 6278  

HTML5 Lyrics Karaoke Player Plugin enable wordpress users to sing and play song text lyrics.

Free Features

  • Supports MP3 formats
  • Supports Text Song Lyrics
  • Social Links Facebook / Twitter
  • Works in IE, Safari, Firefox, Chrome, Opera
  • Player have shortcode for post/page [html5lyrics id=ID] i.e. [html5lyrics id=1]

Paid Features

  • Supports MP3 formats
  • Supports Text Song Lyrics
  • Support Images on song’s cue points
  • Color / Size Customization
  • Supports Unicode
  • Social Link Customization
  • Multiple player on same page / post
  • Works in IE, Safari, Firefox, Chrome, Opera, mobile devices including Android/iOS
  • Supports Wowza / Amazon Cloud Front / S3 HTTP Streaming
  • Facebook page customization with player
  • Player have shortcode for post/page [html5lyrics id=ID … ] i.e. [html5lyrics id=1 … ]
  • Best support on email / skype

Note: It uses native <audio> where available and an invisible flash player to emulate <audio> for other browsers.
It provides a consistent html player UI to all browsers which can be styled used standard css.

Browser & format support

With Flash as a fallback, it should work pretty much anywhere.

It has been verified to work across:

– Mobile Safari (iOS 3+)
– Android (2.2+, w/Flash), Android (4.0+)
– Safari (4+)
– Chrome (7+)
– Firefox (3+, w/ Flash)
– Opera (10+, w/ Flash)
– IE (6, 7, 8, w/ Flash)

Get fully customized HTML5 Lyrics Karaoke Player for Website Buy Now or Contact Us

Standalone

Credit

Audio.js Player

HTML5 Audio Read-Along

Javascript Widget versues iFrame


Hits: 3704  

I was creating a HTML5 Video Ads widget for my clients websites. So if I need to make it in JavaScript or iFrame?

<iframe src=”http://html5.svnlabs.com/videoads/16″></iframe>

But I don’t think iFrame would be the best method, if I need to hide URL from direct access.

Another option is something like this:

<script type=”text/javascript”>id = ’16’;</script>

<script src=”http://html5.svnlabs.com/videoads/” type=”text/javascript”></script>

 

iFrame

– Resizing is typical to the parent window without smart work.
– Better isolation cannot access anything on the parent page.
– No JavaScript experience required.
– Own independent CSS styles.
– Functional on scripting disabled.

 

JavaScript

– Full access to the parent page.
– Slow down page as script load before rendering the rest of the page.
– Experience with JavaScript needed on parent page.
– Experience with CSS styles needed on parent page.

 

So here is conclusion 😉

* You have more control on the design in case of an iFrame.
* iFrame is better in terms of security because cookies stored are different.
* JavaScript widget needs more care on other JavaScript conflict.
* Use JavaScript that writes an iFrame dynamically to avoid direct URL access.

 

PHP JavaScript Mobile Detect


Hits: 4189  

Mobile_Detect is a lightweight PHP class for detecting mobile devices. Mobile_Detect uses the user-agent string with specific HTTP headers to detect the mobile environment.

Cross Browser Testing Tool - BrowserStack
Cross Browser Testing Tool – BrowserStack

Complete Mobile Testing: BrowserStack is a complete browser coverage tool (including mobile devices) for testing you web application.

Open source mobile phone detection

http://detectmobilebrowsers.com/

HOW TO DETECT MOBILE DEVICES USING JQUERY

http://www.jquery4u.com/mobile/detect-mobile-devices-jquery/

var isMobile = {
    Android: function() {
        return navigator.userAgent.match(/Android/i);
    },
    BlackBerry: function() {
        return navigator.userAgent.match(/BlackBerry/i);
    },
    iOS: function() {
        return navigator.userAgent.match(/iPhone|iPad|iPod/i);
    },
    Opera: function() {
        return navigator.userAgent.match(/Opera Mini/i);
    },
    Windows: function() {
        return navigator.userAgent.match(/IEMobile/i);
    },
    any: function() {
        return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
    }
};
Mobile Web
Mobile Web

These days mobile is not a simple stand alone technology. We can help you to detect mobile access for your brand memorable in a personalised and interactive way. We offer complete mobile development solutions that will integrate into your existing marketing/development platform. We offer you a solution that will be functional across across all mobile devices and browsers. Our solutions are developed in open-source technologies to ensure that there is no technology lock-in for our clients.

Thank you for visiting svnlabs.com, If you have any questions regarding the contents published in svnlabs.com then kindly contact us via email, we appreciate your feedback and promise you better services…

Email: info [at] svnlabs.com

Mobile: +919928673578

Skype: svnlabs

Twitter: http://twitter.com/svnlabs

FaceBook: http://www.facebook.com/svnlabs

Linkedin: http://www.linkedin.com/in/svnlabs

Concentrate > Observe > Imagine > Launch

SponsorPay API in PHP


Hits: 4032  

SponsorPay – International Leader in Engagement Marketing and Performance Advertising for the Monetization of Virtual Currency and Digital Content on Social Networks, Online Games, Virtual Worlds and Entertainment Platforms.

Mobile Developers - SponsorPay
Mobile Developers – SponsorPay

Key Features:

* Boost branding and engagement
* Acquire users and improve engagement
* Engage and monetize all your users
* Drive customer acquisition and sales
* Grow revenues with innovative products
* Achieve true glocal monetization

SponsorPay Products

* Offer Wall
* Layover Offer Wall
* Offer Banners
* Offer Bar
* Offer Widget
* BrandEngage

SponsorPay Mobile Offer API

JSON Format
http://api.sponsorpay.com/feed/v1/offers.json?appid=[APP_ID]&uid=[USER_ID]&ip=[IP_ADDRESS]&locale=[LOCALE]&device_id=[DEVICE_ID]&ps_time=[TIMESTAMP]&pub0=[CUSTOM]&timestamp=[UNIX_TIMESTAMP]&offer_types=[OFFER_TYPES]&android_id=[ANDROID_ID]&hashkey=[HASHKEY]

XML Format
http://api.sponsorpay.com/feed/v1/offers.xml?appid=[APP_ID]&uid=[USER_ID]&ip=[IP_ADDRESS]&locale=[LOCALE]&device_id=[DEVICE_ID]&ps_time=[TIMESTAMP]&pub0=[CUSTOM]&timestamp=[UNIX_TIMESTAMP]&offer_types=[OFFER_TYPES]&android_id=[ANDROID_ID]&hashkey=[HASHKEY]

<?php

// Step 1: Gather all request parameters

$page = isset($_REQUEST['page'])?$_REQUEST['page']:"1";
$uid = isset($_REQUEST['uid'])?$_REQUEST['uid']:"svnlabs";
$pub0 = isset($_REQUEST['pub0'])?$_REQUEST['pub0']:"sv";
$appid = isset($_REQUEST['appid'])?$_REQUEST['appid']:"APP-ID";
$device_id = isset($_REQUEST['device_id'])?$_REQUEST['device_id']:"DEVICE-ID";
$ip = isset($_REQUEST['ip'])?$_REQUEST['ip']:"IP-ADDRESS";
$apikey = isset($_REQUEST['apikey'])?$_REQUEST['apikey']:"API-KEY";
$format = isset($_REQUEST['format'])?$_REQUEST['format']:"json";

$requestring = 'http://api.sponsorpay.com/feed/v1/offers.'.$format.'?';

$d = array(   
        'appid' => $appid,
        'device_id' => $device_id,
        'ip' => $ip,
        'locale' => 'en',
        'page' => $page,
        'pub0' => $pub0,
        'timestamp' => time(),
        'uid' => $uid,
    );
    
    
//Step 2: Order all request alphabetically    
    
ksort($d);

//Step 3: Concatenate all request parameters

$params = '';

foreach($d as $k=>$v)
{
  $params .= $k."=".$v."&"; 
}    

//Step 4: Concatenate the resulting string with your API Key
//Step 5: Hash the resulting string using SHA1

$hash = sha1($params.$apikey);

$url = $requestring.$params."hashkey=".$hash;

echo file_get_contents($url);

?>

 

SponsorPay is a really good solution for social media platform using more engaging ad units than traditional social media formats.

Android HTML5 Audio duration and loadProgress in audio.js


Hits: 5666  

audio.js is a drop-in javascript library that allows HTML5’s <audio> tag to be used anywhere.

HTML5 Audio Js Duration Buffered

AudioJS uses native <audio> where available and an invisible flash player to emulate <audio> for other browsers. AudioJS provides a consistent html player GUI to all browsers which can be styled used standard CSS.

But I faced a issue in audio.js html5 player, the audio preload, duration and buffer was not working 🙁

Hope this will save your time .. please find modified javascript

loadProgress: function() {
      if (this.element.buffered != null && this.element.buffered.length) {
        // Ensure `loadStarted()` is only called once.
        if (!this.loadStartedCalled) {
          this.loadStartedCalled = this.loadStarted();
        }
        var durationLoaded = this.element.buffered.end(this.element.buffered.length - 1);
        this.loadedPercent = durationLoaded / this.duration;

        this.settings.loadProgress.apply(this, [this.loadedPercent]);
      }
      else
      {
      // audio duration in Android
      if (!this.loadStartedCalled) {
          this.loadStartedCalled = this.loadStarted();
      }

      var durationLoaded = this.element.buffered.end(this.element.buffered.length - 1);
        this.loadedPercent = durationLoaded / this.duration;

        this.settings.loadProgress.apply(this, [this.loadedPercent]);

      }

    },

Modified file

audio js duration in android

On Android ICS 4 you might load and play audio with delay

setTimeout(function() {
            audio.load(src);
            audio.currentTime = 0;
            
            setTimeout(function() {
                audio.play();
            }, 500);
        }, 500);

Red5 Media Server iOS Android Setup


Hits: 11707  

Hope you already read our previous article “VOD to iOS” ?

 

How you can use Red5 Server for streaming to iPhone, iPads and Android?

S V N Labs Softwares implements an iOS/Android add-on setup for Red5 Server to stream both Flash, iOS and Android devices. This add-on also supports setup of JW Player, Flowplayer and HTML5 embed player using Red5 live and on-demand streams. We are expert in setting up Red5 applications and developing custom apps and plug-ins for Red5 and other media servers including Wowza, Flash Media Server, Union etc.

Red5 Recorder allows wordpress users to easily use Red5 Recorder Player on their website to record Video / Audio Streams.
Users can record their video response / review using embedable red5 recorder and after recording they can send video email to wordpress admin. Both user and admin will get email from Red5 Recorder system to get Red5 Recorded Video Streams.

Red5 includes support for the latest multi-user API’s including NetConnection, NetStream and SharedObject’s while providing a powerful RTMP / Servlet implementation. In addition to support for the RTMP protocol, the application server has an embedded Tomcat Servlet container for JEE Web Applications. Application development draws additional benefits from the Spring Framework and Scope based event driven services.

Open Source Red5 Media Server also help you for developing extensible platform that can be used in Video Conferences, Multi-User Gaming and Enterprise Application Software. S V N Labs Softwares are also expert in RED5 and most other media servers including Wowza, Flash Media Server, Union etc. and we can assist to set up transcoding, segmenting, and ipad/iphone/android server-side configuration.

Get more help for HTTP Live Video Stream Segmenter and Distributor Contact Us

Webisode


Hits: 3568  

The webisode is simply a web episode, this is a new medium called web television that stream live broadcast, dramas, serial storyline, media events online over the Internet

The webisode is web episode especially viewed at a Web site for TV show have been telecast.

Technologies Used

* HTTP
* RSS/JSON
* RTSP/RTMP
* SMIL
* WTVML
* ASX
* MMS

Streaming Audio/Video formats

* Adobe Flash – MP3, FLV, MP4
* Microsoft Media – Silverlight, ASF, ASX, WAX, WMA, WMV
* RealNetworks – RM, RAM, RA, SMIL
* Apple QuickTime Audio/Video streams
* Shoutcast/Icecast – MP3, AAC, OGG
* MoveNetworks MoveMediaPlayer

CDN Used

* Amazon S3 CloudFront
* Google
* YouTube
* MaxCDN
* Rackspace CDN
* EdgeCast
* Flickr
* Akamai
* StreamGuys

Servers Used

* Wowza
* Adobe
* Red5
* SHOUTCast
* Windows Media Server

Clients Used

* Adobe – Flash Media Live Encoder
* Windows Media Encoder
* VLC Player
* SMPlayer
* SAMCast

Streaming Tools

* MPlayer
* FFmpeg
* RTMPDump
* VLC
* Flash Media Players
* HTML5

CMS Used

* Kaltura
* VidZapper

A webcast is a media streaming technology to distribute single media content source to many simultaneous listeners/viewers. The webcast might be distributed live or on demand. Webcasting is “broadcasting” over the Internet.

http://www.svnlabs.com/services/media-streaming

 

There are only two ways to live your life

Tolerate things the way they are…… Or take responsibility to change them.

Compile or build flowplayer or jwplayer to create secure token for wowza server


Hits: 10473  

I think you already read our last article for wowza mediasecurity addon package

There are 2 methods to put secure token for video players like flowplayer or jwplayer…

1. Token inside javascript code (shared secret)
2. Token inside flowplayer or jwplayer source code (compile the token inside the plugin)

The shared secret known by the server and the client only. If you really want to keep this secret you need to follow 2nd option 😉

We need to install following software in order to work on Flowplayer Flash plugins:

Flex SDK

Java Development Kit (JDK) & Apache Ant


Flow Player

You can find all steps to compile Flow Player with secure plugin here
http://flowplayer.org/documentation/developer/development-environment.html

flowplayer.core/build.properties

# you need to adjust following to point to your Flex SDK
flex3dir=D:/flex_sdk

# change following to point to .exe files when running on Windows
mxmlc_bin= D:/flex_sdk/bin/mxmlc.exe
compc_bin= D:/flex_sdk/bin/compc.exe
asdoc_bin= D:/flex_sdk/bin/asdoc.exe

devkit-dir=../flowplayer.devkit
plugins.dir=../

site.dir=D:/flowplayer/deploy
js.deploy.dir=${site.dir}/deploy/js
deploy.dir=${site.dir}/content/swf

Modify Secure Token here… flowplayer.securestreaming/src/actionscript/org/flowplayer/securestreaming/Config.as

private var _token:String = “#hv%h0#s@1”; // token that used for wowza server security 😉

Building the player
CD (change directory) to the flowplayer.core and execute ant at the command prompt:

> ant

If you see “BUILD SUCCESSFUL”, the build was successful and you have a working player located at flowplayer.core/build/flowplayer.swf.

Get more help here…
http://flowplayer.org/documentation/developer/building-in-plugins.html
http://flowplayer.org/documentation/developer/writing-flash-plugins.html


JW Player

You can find all steps to compile JW Player with secure token here http://developer.longtailvideo.com/trac/browser/trunk/fl5/README.txt


So, now the question is how to protect SWF (with token) files from hotlink, theft, download and Leech

Contact us to add SecureToken protection to JWPlayer and FlowPlayer for Wowza, Red5, FMS media files.

Email: svnlabs[at]gmail.com
Mobile: +919928673578
Skype: svnlabs
MSN: svnlabs[at]hotmail.com

PHP Cloud


Hits: 5130  

Introduction to the Zend Developer Cloud

PHPCloud help to Develop, Deploy and Manage PHP Applications in to Any Cloud (Amazon, Rackspace, RightScale, IBM SmartCloud) using Zend Application Fabric.

Demo: http://svnlabs.my.phpcloud.com
Contact: http://blog.svnlabs.com/contact/