Helpviewer/WebPlugins/ClickToFlash/ClickToFlash.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5586:0e5421d679e7 5587:ea526b78ee6c
140 """ 140 """
141 Private slot to remove the host from the whitelist. 141 Private slot to remove the host from the whitelist.
142 """ 142 """
143 self.__plugin.removeFromWhitelist(self.__url.host()) 143 self.__plugin.removeFromWhitelist(self.__url.host())
144 144
145 def __load(self, all=False): 145 def __load(self, allPlayers=False):
146 """ 146 """
147 Private slot to load the flash content. 147 Private slot to load the flash content.
148 148
149 @param all flag indicating to load all flash players. (boolean) 149 @param allPlayers flag indicating to load all flash players (boolean)
150 """ 150 """
151 self.__findElement() 151 self.__findElement()
152 if not self.__element.isNull(): 152 if not self.__element.isNull():
153 substitute = self.__element.clone() 153 substitute = self.__element.clone()
154 substitute.setAttribute("type", self.__mimeType) 154 substitute.setAttribute("type", self.__mimeType)

eric ide

mercurial