Notice: Undefined index: theme in osmplayer_get_player() (line 77 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: template in osmplayer_get_player() (line 83 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: debug in osmplayer_get_player() (line 84 of /mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: swfplayer in osmplayer_get_player() (line 105 of mediafront/players/osmplayer/osmplayer.module).

Comments

mediaformat’s picture

I also got all of those errors, plus a template error on line 119, after upgrading from1.5 to rc2.

Notice: Undefined index: theme in osmplayer_get_player() (line 77 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: template in osmplayer_get_player() (line 83 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: debug in osmplayer_get_player() (line 84 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: swfplayer in osmplayer_get_player() (line 105 of mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: template in osmplayer_get_player() (line 119 of mediafront/players/osmplayer/osmplayer.module).

anyone else encounter these errors?

franksweb’s picture

I had to deïnstall mediaelement.js.

That solved for me the problem.

srgk’s picture

i have the same problem. as far as i can tell, and i've got no mediaelement.js
also javascript error
Uncaught TypeError: Object #

has no method 'osmplayer' osmplayer_drupal.js:11 edit - already fixed, see below
srgk’s picture

ok, that was quite stupid as always, but all i needed to do to make things work was select the Preset in the node type view mode settings, which i forgot at first

travist’s picture

Status: Active » Fixed

I just pushed up a fix where it will now use the first preset it finds if none are selected.

mediaformat’s picture

Where is the fix pushed up? rc3?

mediaformat’s picture

The error message disappeared after disabling a second empty player on the page.

drupalfo’s picture

djungle: Where do you disable the second player?

mediaformat’s picture

@drupalfo : You shouldn't have an 2nd player, I was trying something out where I had a player for the a page-view and another one attached to a block-view in a sidebar. Hope this helps.

Status: Fixed » Closed (fixed)

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