1
colossus
HTML validation errors in Youtube tags
  • 2009/7/12 23:37

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

In XOOPS 2.3.3 (and previous versions I guess), a post or comment that has some Youtube video embed with Xoopscode "Youtube" won't pass HTML Validation.

I think this can be fixed modifying line 75 in the archive class/textsanitize/youtbe/youtube.php:

$code "{$width}' height='{$height}'>{$src}'>" .
                 
".
                 
"{$src}' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'>" .                 "";


Changing it to, for example, this:

$code "{$width}' height='{$height}' data='{$src}' type='application/x-shockwave-flash'>" .
                
"{$src}'>" .
                
".
                
"";


Regards: Colossus

Login

Who's Online

314 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 314


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits