petit bug dans le hack YouTube Videos petit bug dans le hack YouTube Videos
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

petit bug dans le hack YouTube Videos

Started by nounours, April 10, 2007, 01:59:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nounours

bonjour :)

dans le fichier theme.php la fonction <embed> n'est pas reconnue par la norme XHTML

il faut remplacer:

Quote

                   $pic_html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/';. $vid . '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/';. $vid . '" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>


par

Quote

         $pic_html = '<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/';. $vid . '" width="425" height="350">
            <param name="movie" value="http://www.youtube.com/v/';. $vid . '" />
            <param name="wmode" value="transparent" />
         </object>


ca permet de passer au control XHTML sans problème

A+

François Keller

Bonjour,

personnellement je n'appelle pas ça un bug mais bon  :-\
merci pour l'info
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

nounours

bonjour Frantz :)

moi non plus, mais j'ai essayé de trouver un titre qui plaise a PAYD :)