2011-07-19 39 views

回答

0

編輯

你想看看該文件是/path_to_your_mediacore_installation_dir/mediacore/mediacore/lib/players.py線151

def player_vars(self): 
    """Return a python dict of vars for this player.""" 
    vars = { 
     **'autostart': self.autoplay,** 
     'height': self.adjusted_height, 
     'width': self.adjusted_width, 
     'controlbar': 'bottom', 
     'image': thumb_url(self.media, 'l', qualified=self.qualified), <----- THAT, ADDED. 
     'players': [ 
      # XXX: Currently flash *must* come first for the RTMP/HTTP logic. 
      {'type': 'flash', 'src': self.swf_url()}, 
      {'type': 'html5'}, 
      {'type': 'download'}, 
     ], 
    } 

刪除** ** ...

+0

你能給出完整的代碼嗎? –