Download & Extend

Undefined index variables for osmplayer

Project:MediaFront
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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?

#2

I had to deïnstall mediaelement.js.

That solved for me the problem.

#3

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

#4

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

#5

Status:active» fixed

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

#6

Where is the fix pushed up? rc3?

#7

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

#8

djungle: Where do you disable the second player?

#9

@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.

#10

Status:fixed» closed (fixed)

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

nobody click here