When I specify a Youtube playlist in the Preset Settings > Player Settings > Playlist Settigs > Default playlist field with more than 3 videos, a JS error occured, the .minplayer-default-loader-wrapper won't disappear and I can't scroll my playlist.

The JS error is in osmplayer.js?v=0.1:8439
Uncaught TypeError: undefined is not a function

at this line (8439) :
this.scroll = new osmplayer.iScroll(this.elements.scroll.eq(0)[0], {

a console.log(osmplayer); give me that :

function (context, options) {

  // Derive from minplayer
  minplayer.call(this, context, options);
}

The URL of playlist entered in default field :
http://gdata.youtube.com/feeds/api/playlists/PLusuc_cN-Su6CGB0xRu8mmanKv...

Page with error :
http://smdp.fr/dev/webtv

Modules versions used :

  • mediafront 7.x-2.2+29-dev
  • mediafront_youtube 7.x-2.2+29-dev
  • osmplayer 7.x-2.2+29-dev

JS libraries used :

  • jQuery 1.8.2
  • jQuery UI 1.8.7

And Drupal Core 7.34 !!

Thanks for help !
(and sorry for bad english... I'm french)

Comments

Patrick Danielsson’s picture

I have this problem too.