Skip to content

Commit

Permalink
Fixed default media players options. [#49 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Youch committed Mar 22, 2010
1 parent 33d5e1b commit ebced4d
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -105,7 +105,10 @@ def self.audio_options(vals=nil)
class Options < HashModel
include HandlerActions

attributes :media_video_handler => nil, :media_audio_handler => nil
attributes :media_video_handler => 'media/players/video/flv_player',
:media_audio_handler => 'media/players/audio/word_press_audio_player'

validates_presence_of :media_video_handler, :media_audio_handler

def media_video_handlers
@media_video_handlers ||= self.get_handler_options(:media, :video, true)
Expand Down

0 comments on commit ebced4d

Please sign in to comment.