jplayer / jPlayer

jPlayer : HTML5 Audio & Video for jQuery
http://jplayer.org/
Other
4.6k stars 1.47k forks source link

jPlayer not support zepto??? #247

Open xiongshenping opened 10 years ago

xiongshenping commented 10 years ago

I have used Zepto instead of jQuery.

Zepto 1.1.4 compiled with the data and fx module.

but jplayer has not working.

jplayer.js:1695

Uncaught TypeError: Cannot read property 'animate' of undefined

please help!gave me a demo please!

ghost commented 10 years ago

I really wouldn't worry about Zepto - at runtime it's no faster, and it really isn't worth the hassle. You MAY be saving 20k (zepto 10k, jquery 30k) ONCE, but you're loading songs which will be more than that per second. If you're still unsure, see http://zurb.com/article/1293/why-we-dropped-zepto

thepag commented 10 years ago

It is quite possible that new features have not been tested in Zepto properly. I will try test this and review, but in the meantime this option should turn off the problem: smoothPlayBar: true

visonforcoding commented 8 years ago

i meet the same problem