示例#1
0
 def get_json_autoplay(self):
     return safe_json(self.autoplay)
示例#2
0
 def get_json_ogg_support(self):
     return safe_json(self.ogg_support())
示例#3
0
 def get_base_path(self):
     return safe_json(settings.JPLAYER_BASE_PATH)
示例#4
0
 def get_json_playlist(self):
     if not hasattr(self, '_cached_playlist'):
         self._cached_playlist = safe_json(self.playlist())
     return self._cached_playlist
示例#5
0
 def get_json_autoplay(self):
     return safe_json(self.autoplay)
示例#6
0
 def get_base_path(self):
     return safe_json(settings.JPLAYER_BASE_PATH)
示例#7
0
 def get_json_ogg_support(self):
     return safe_json(self.ogg_support())
示例#8
0
 def get_json_playlist(self):
     if not hasattr(self, '_cached_playlist'):
         self._cached_playlist = safe_json(self.playlist())
     return self._cached_playlist