May 10, 2013 - Travel    No Comments

Traveling

Yea finally got to do some travel and haven’t been update website been long time. This time I went to Taiwan again. I went to Tai Zhong > Qing Qing Cao Yuan > Hualien > Taipei

1st Day we reach Tai zhong bullet train took cab and he bring us around to temples, wine factory, their small city, sun moon lake (took like 1/2 day). At Tao Yuan bullet trains station bough this ham, egg and peanut butter bread from mos burger and it taste amazing!

Read more »

Oct 25, 2012 - Javascript    No Comments

IE again!

I was using jplayer for video stream service. It is a nice jquery plugin for you to run videos on HTML 5.
However, I was not able to play with IE 8 using latest plugin.

I google and found this problem

$(document).ready(function(){

$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
m4v: "http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v",
ogv: "http://www.jplayer.org/video/ogv/Big_Buck_Bunny_Trailer.ogv",
webmv: "http://www.jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm",
poster: "http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png"
});
},
<strong>swfPath: "http://www.jplayer.org/2.0.0/js",</strong>
supplied: "webmv, ogv, m4v",
size: {
width: "640px",
height: "360px",
cssClass: "jp-video-360p"
}
});
$("#jplayer_inspector").jPlayerInspector({jPlayer:$("#jquery_jplayer_1")});
});

The main issues is swfPath: “http://www.jplayer.org/2.0.0/js”  IE 8 is not able to support the latest player.

Again microsoft let us down….

Jul 11, 2012 - HTML 5    No Comments

Html 5 Canvas

Canvas has been around for sometime, however, bloody IE do not support them. But people out there is trying to get a solution to it by using JS

1)http://fabricjs.com/ - Fabric js. So far it support most browser and IE 7 – 8. However, some bugs in transformations in IE 8. (can microsoft stop doing browsers damn!)
2)http://excanvas.sourceforge.net/ - excanvas far most supported with IE
3) http://raphaeljs.com/ - mainly SVG however use a different framework.
4) http://www.pixastic.com/ 0 very powerful Javascript which I did use in www.matchwing.com again do not support IE

Pages:1234567...15»