Exemple #1
0
	def updateContainerList(self,width):
		menuList = []
		menuList.append(self.buildEntry(_("3GP container"), videoPlayerInfo.isMP4Supported(), width))
		menuList.append(self.buildEntry(_("ASF(WMV) Container"), videoPlayerInfo.isASFSupported(), width))
		menuList.append(self.buildEntry(_("AVI Container"), videoPlayerInfo.isAVISupported(), width))
		menuList.append(self.buildEntry(_("FLV Container"), videoPlayerInfo.isFLVSupported(), width))
		menuList.append(self.buildEntry(_("MKV Container"), videoPlayerInfo.isMKVSupported(), width))
		menuList.append(self.buildEntry(_("MP4 Container"), videoPlayerInfo.isMP4Supported(), width))
		self["container_list"].setList(menuList)
Exemple #2
0
 def updateContainerList(self, width):
     menuList = []
     menuList.append(
         self.buildEntry(_("3GP container"),
                         videoPlayerInfo.isMP4Supported(), width))
     menuList.append(
         self.buildEntry(_("ASF(WMV) Container"),
                         videoPlayerInfo.isASFSupported(), width))
     menuList.append(
         self.buildEntry(_("AVI Container"),
                         videoPlayerInfo.isAVISupported(), width))
     menuList.append(
         self.buildEntry(_("FLV Container"),
                         videoPlayerInfo.isFLVSupported(), width))
     menuList.append(
         self.buildEntry(_("MKV Container"),
                         videoPlayerInfo.isMKVSupported(), width))
     menuList.append(
         self.buildEntry(_("MP4 Container"),
                         videoPlayerInfo.isMP4Supported(), width))
     self["container_list"].setList(menuList)