var probably = [];
var maybe = [];
var not = [];
- if (Modernizr.ftouch) {
- if (this.flash) {
- probably.push('flv');
- }
+ if (Modernizr.ftouch && this.flash) {
+ maybe.push('flv');
}
if (this.video) {
}
}
}
- if (!Modernizr.ftouch) {
- if (this.flash) {
- probably.push('flv');
- }
+ if (!Modernizr.ftouch && this.flash) {
+ maybe.push('flv');
}
this.videoFormats = $.merge(probably, maybe, not);
this.preferedFormat = this.videoFormats[0];
- //fb("Video prefered format : " + this.preferedFormat+" ("+this.videoFormats.join(', ')+")");
+ fb("Video prefered format : " + this.preferedFormat + " (" + this.videoFormats.join(', ') + ")");
}
FluidbookVideo.prototype = {