News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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