I just installed your latest dev and am getting these notices. I've tried using both default theme and simpleblack:
The node which is supposed to show the player shows nothing.
Notice: Undefined index: theme in osmplayer_get_player() (line 58 of /home4/growtogi/public_html/sites/all/modules/mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: template in osmplayer_get_player() (line 64 of /home4/growtogi/public_html/sites/all/modules/mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: debug in osmplayer_get_player() (line 65 of /home4/growtogi/public_html/sites/all/modules/mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: swfplayer in osmplayer_get_player() (line 86 of /home4/growtogi/public_html/sites/all/modules/mediafront/players/osmplayer/osmplayer.module).
Notice: Undefined index: template in osmplayer_get_player() (line 98 of /home4/growtogi/public_html/sites/all/modules/mediafront/players/osmplayer/osmplayer.module).
Comments
Comment #1
Pam Fairlie commentedI am having a similar problem and all I'm getting is 'Fatal error: Class 'MediaFile' not found in /data/www/www.ciboodle.com/prospects/modules/mediafront/mediafront.module on line 556' after set up.
Anyone know anything about this?
Comment #2
IWasBornToWin commentedAny suggestions?
Comment #3
travist commentedWhat versions of PHP are you guys using?
Comment #4
IWasBornToWin commentedThanks for replying, i'm using:
Apache version 2.2.22
PHP version 5.2.17
MySQL version 5.1.63-community-log
Architecture x86_64
Operating system linux
Comment #5
IWasBornToWin commentedFor what it's worth;
These warnings only appear when using panels to display the node?
So here's the latest-
With panels - errors and no player shows
without panels - no error, player shows but no video shows or plays. I'm using video url field and have it set to use your media player.
Theme - dark hive
template - default
check - show player when empty
autostart - off
autoload - on
window mode - transparent
no playlist
auto next - off
show controller - on
Thanks
Comment #6
IWasBornToWin commentedI just went into field settings and changed media type from "media-content" to "introduction". That didn't work either. When I went back to edit the video url field to try a few of the other media types I got these red warnings:
Notice: Undefined index: media in mediafront_get_node() (line 592 of /home4/growtogi/public_html/sites/all/modules/mediafront/mediafront.module).
Notice: Trying to get property of non-object in mediafront_get_media_preview() (line 417 of /home4/growtogi/public_html/sites/all/modules/mediafront/mediafront.module).
Comment #7
IWasBornToWin commentedok, when i switch it back to media content i no longer get the red warning when editing the video field. nut i did get it when it was set to intro, commercial, pre-reel
Comment #8
IWasBornToWin commentedOk, getting closer. The reason all of the erros were showing up when viewing the node [through panels] is because I was using a view within the panel. I was viewing the node with a custom view I built. In the view I did not have the field settings for media. Even though they're set in the node fields I also had to set them in the view itself for my url field. After doing that I no longer get any of the red error warning messages.
Now, lastly, I can see the player in the node view but it's not connecting the my url in my video url field. It's just a blank skin of the view.
Thanks
Comment #9
IWasBornToWin commentedOk, here's the latest:
I just created a new node and this time I didn't put anything in the video url field. The blank default skinned player is still showing. So apparently this player is somehow connected to the node rather than the field in the node? Any suggestions?
Comment #10
IWasBornToWin commentedPer this post - http://drupal.org/node/1668364#comment-6198438 the latest dev version now plays the video. Only snag left is an empty field shows an empty player on the page when no player should show.
Thanks
Comment #11
ultimikeSo is this issue now fixed with the latest version of MedaiFront?