All posts in Javascript

Media element js – A HTML5/Jquery Video Player – Streaming Video Not working issue – A Quick Solution

Scenario

Recently I have worked in an HTML 5 App for Ipad. It was basically video presentation framework. initially the requirement was like a video which we need to play in iPad with all other features of of Video Presentation. It’s exactly like replacing a flash/silverlight application to JQUERY/HTML5. we have done same with MediaElement.js

Issues

But after getting ‘wow ” from client, they were asked us to replace the video with a streaming video. But the url given was not a video link. It’s like youtube video links. It was simply out puts a video player on clicking the link. On close inspection it was observed that it was made by usin of jwpalyer(!!) – another wonderful HTML5/Jquery Video Player . So the its become the much easier for us. Because the video is hard coded (!!!).

Continue reading →

Google Analytics over cross domain or multiple Domains

[img:Google Analytics over cross domain or multiple Domains]

Google Analytics over cross domain or multiple Domains

Google always recommends using separate analytical IDs and script for different domains. That is the best solution as we can track total stats of each domain properly. But sometimes we may face some scenarios where you need to track the stats of all domains.

But the Google Analytics documents have no mention on this. But there are ways to implement this.

The scenario’s where we need cross domain or multiple domains are,

  • We need summarized report on site stats of all domains
  • Business need a boosted or common report
  • Need a common goal analysis for all cross domains.

Continue reading →

Twitter’s new Location Feature – with a Bug!!!

[img;Twitter Location Feature]

Twitter Location Feature

Twitter is now coming with new feature called Location. But comes with a bug. It won’t let you add Chennai, as auto complete fails pop out Chennai. Also it is not letting me add new location too.Then what is the use of feature.

@Twitter Guys: Make it autocomplete with editable. Copy the same from Facebook, as you copied the location concept from them..

But I loved the feature, even though its is copy cat.

How to create background image Ads using pure HTML and CSS? A better, quick and smart way

Now a days “background image Ads” are becoming one of the common revenue making concepts in internet industry. But most of us, still unaware, how can make can we implement it. Technically there are too many ways to do it, including few jQuery solutions. But after experiencing with most of this I realized that HTML/CSS version is better and efficient in many aspects.

Some of the advantages are

  • CSS/HTML version is much quicker and easier.
  • Easy to understand.
  • As we are calling image as background image it won’t hurt the page loading time, even though image size is bigger for low band width users.
  • No script loading delay.

Continue reading →

Is Facebook running out of storage space? Yes REALLY its is

How many of you can believe that Facebook has crossed it’s disc space capacity?. Yes it happened at the moment. Even I admit that it can happen due any disc error or any other technical error. But It shows at the user end as Storage Error.

[img:Facebook Storage issue]

Facebook Storage issue

I was experienced same issue when I tried uploading to ‘Facebook Timeline Cover’ . the message was

unknown error

So I decided to uplaod as album photo, then add as time lime image . But again error. But that was good enough make me interested.

Storage Failure
We had trouble storing this photo, please try again in a few minutes.

Please check the exact message

Update:
Now the issue has been fixed and seems things under control too. Special kudos to the guys behind behind fixing so quick

why I love Jquery?

For past few years I was really enjoyed to play around JQuery by working/making/fixing. Even now I personally believe JQuery is one the best java-script library/frameworks so far. I am not sure when I start working with her for the first first time, but she was referred to me  by Ajith.

 

Most best features I love in Jquery are

  • Opensourse
  • Simplicity: Even a beginner be expert in few hours to days time depending on the time.
  • Reliable Core File : which have support across multiple platforms.
  • Availability of plugins : There are millions of JQuery plugins are available in Market.
  • Availability of Millions supporters to help you in internet.
  • Only basic features in the core/Yet all basic needs.
  • Availability of UI, which we can theme/customize with their site. It includes all basic needed in your day to day life.
  • Mobile Platform NEW

Continue reading →

How to enable Ajax loading of External URL(Cross Domain) in Jquery Mobile especially in Phonegap?

I am not quite sure how many of you had faced this is issue. But it was real a pain in the ass. I am was searching and searching but no use. Finally  I decided to rewrite what they wrote. Then the shocking surprise in the code that,  it was well documented so it was so easy . And my answer/issue was is already  answered.

Kidus to Jquery Mobile team for the fantastic work.

 

Continue reading →