jPlayer icon indicating copy to clipboard operation
jPlayer copied to clipboard

jPlayer not support zepto???

Open shawnxcode opened this issue 11 years ago • 3 comments

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!

shawnxcode avatar Oct 20 '14 09:10 shawnxcode

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

ghost avatar Nov 11 '14 10:11 ghost

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

thepag avatar Nov 24 '14 22:11 thepag

i meet the same problem

visonforcoding avatar Aug 15 '16 08:08 visonforcoding