Viewing 4 replies - 1 through 4 (of 4 total)
  • Flash embedded with embed and object tags will never validate according to current standards. Either ignore it, use a JavaScript embedding method, or use an HTML5-compliant method such as the iframe embed code YouTube offers.

    Thread Starter orvtech

    (@orvtech)

    NVM, i figure it out. Will post procedure soon.

    I used this procedure and modified some code on the plug-in http://www.orangesoda.com/blog/how-to-get-youtube-embeds-to-pass-w3c-code-validation/

    The file that I modified was video-sidebar-widgets.php

    Glad you found a solution. Please mark this thread as resolved – thanks!

    Thread Starter orvtech

    (@orvtech)

    As I mentioned above:

    Before

    629                 echo "\n<object width=\"$RV_width\" height=\"$RV_height\">\n";
     630                 echo $rv_flashvar;
     631                 echo "<param name=\"allowfullscreen\" value=\"true\" />\n";
     632                 echo "<param name=\"allowscriptaccess\" value=\"always\" />\n";
     633                 echo "<param name=\"movie\" value=\"$rv_value\" />\n";
     634                 echo "<param name=\"wmode\" value=\"transparent\" />\n";
     635                 echo "<embed src=\"$rv_value\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" ";
     636                 echo "allowfullscreen=\"true\" allowscriptaccess=\"always\" ";
     637                 echo $rv_flashvar2;
     638                 echo "width=\"$RV_width\" height=\"$RV_height\">\n";
     639                 echo "</embed>\n";
     640                 echo "</object>\n\n";
     641                 echo "<p class=\"VideoCaption\">$rv_cap</p>";

    After

    629                 echo "\n<object width=\"$RV_width\" height=\"$RV_height\" data=\"$rv_value\">\n";
     630                 echo $rv_flashvar;
     631                 echo "<param name=\"allowfullscreen\" value=\"true\" />\n";
     632                 echo "<param name=\"allowscriptaccess\" value=\"always\" />\n";
     633                 echo "<param name=\"movie\" value=\"$rv_value\" />\n";
     634                 echo "<param name=\"wmode\" value=\"transparent\" />\n";
     640                 echo "</object>\n\n";
     641                 echo "<p class=\"VideoCaption\">$rv_cap</p>";

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Video Sidebar Widgets] W3C errors due to this plugin’ is closed to new replies.