You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am proposing a fix for jquery.media.js that will allow a fallback to quicktime if the flash plugin doesn't load (for example, iphones...)
It needs swfobject v2+
Mod line 348
- var player = /\.mp3\b/i.test(src) ? opts.mp3Player : opts.flvPlayer;
- var key = opts.flvKeyName;
+ var player = /\.mp3\b/i.test(src) ? opts.mp3Player : opts.flvPlayer;
+ if (window.swfobject) // swfobject v2+
+ if(/\.mp3\b/i.test(src))
+ if(!swfobject.hasFlashPlayerVersion(opts.flashVersion)) // no flash
+ return generate(el, opts, 'quicktime'); // override with quicktime
+ var key = opts.flvKeyName;
Well, it could be useful for somebody else
Bye
Alamaz
The text was updated successfully, but these errors were encountered:
I am proposing a fix for jquery.media.js that will allow a fallback to quicktime if the flash plugin doesn't load (for example, iphones...)
It needs swfobject v2+
Mod line 348
Well, it could be useful for somebody else
Bye
Alamaz
The text was updated successfully, but these errors were encountered: