WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/05/2014 01:24:58 AM (7 years ago)
Author:
wonderboymusic
Message:

The video shortcode unit test shouldn't be expected to maintain HTML comments.

See #26864.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/media.php

    r27094 r27096  
    397397            '<video class="wp-video-shortcode" id="video-0-1" width="' . $w . '" height="' . $h . '" preload="metadata" controls="controls">' .
    398398            '<source type="video/mp4" src="http://domain.tld/wp-content/uploads/2013/12/xyz.mp4" />' .
    399             '<!-- WebM/VP8 for Firefox4, Opera, and Chrome --><source type="video/webm" src="myvideo.webm" />' .
    400             '<!-- Ogg/Vorbis for older Firefox and Opera versions --><source type="video/ogg" src="myvideo.ogv" />' .
    401             '<!-- Optional: Add subtitles for each language --><track kind="subtitles" src="subtitles.srt" srclang="en" />' .
    402             '<!-- Optional: Add chapters --><track kind="chapters" src="chapters.srt" srclang="en" />' .
     399            '<source type="video/webm" src="myvideo.webm" />' .
     400            '<source type="video/ogg" src="myvideo.ogv" />' .
     401            '<track kind="subtitles" src="subtitles.srt" srclang="en" />' .
     402            '<track kind="chapters" src="chapters.srt" srclang="en" />' .
    403403            '<a href="http://domain.tld/wp-content/uploads/2013/12/xyz.mp4">' .
    404404            "http://domain.tld/wp-content/uploads/2013/12/xyz.mp4</a></video></div>\n";
Note: See TracChangeset for help on using the changeset viewer.