Added support for swfobject to youtube.inc, and backported it to 5 as well. Also began support for $options overrides in the theme. Documenting it here for posterity.

Comments

hihumm’s picture

Receiving this error when attempting to create content with an embedded youtube video with module downloaded 10 minutes ago:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_emvideo_youtube_flash' was given in C:\xampp\htdocs\dwiki\includes\theme.inc on line 597.

alex ua’s picture

You should try going back to your module admin page to make sure you have the correct themable functions loading...

hihumm’s picture

Hmm...I am pretty new to Drupal - not sure what you mean by themable functions loading. I have all the emfield modules checked on my module admin page - but that's probably not what you mean. I've tried embed html from a few other providers and those all work - it just seems to be for the youtube one. I did download and use the current version, still no luck. I've uninstalled, reinstalled the module as well. Any help would be greatly appreciated.

alex ua’s picture

This has been fixed in the 6.x-1.x-dev version, so either use that, or wait until I release Alpha2 (probably later today or tomorrow).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.