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) |