MooTube: Youtube Iframe API with MooTools

64 views
Skip to first unread message

Ciul

unread,
Oct 5, 2012, 5:47:09 PM10/5/12
to mootool...@googlegroups.com
Hi pals,

wanted to share you this plugin:

will be available at Forge soon.

Regards,
Ciul

Philip Thompson

unread,
Oct 5, 2012, 6:49:45 PM10/5/12
to mootool...@googlegroups.com
You're defining this property twice: $ready once as bool and once as function


I was under the impression that one could not have the same "property" name be two different types (and exist at the same time). Did I pull this out of my bum?

~Philip

Arian Stolwijk

unread,
Oct 5, 2012, 8:41:33 PM10/5/12
to mootool...@googlegroups.com
Good catch, after calling that method, it will replace mootube.$ready to true, and calling it a second time will fail.

Ciul

unread,
Oct 5, 2012, 8:52:31 PM10/5/12
to mootool...@googlegroups.com
My mistake, thanks for noticing it. Will fix it and update the repo.

Ciul

unread,
Oct 5, 2012, 10:27:08 PM10/5/12
to mootool...@googlegroups.com
Okay, 

$apiReady function instead.
$ready boolean flag.

Thanks for noticing it.

Hope you enjoy it :)

Ciul

unread,
Oct 11, 2012, 4:49:53 PM10/11/12
to mootool...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages