The video shortcode unit test shouldn't be expected to maintain HTML comments.
See #26864. git-svn-id: https://develop.svn.wordpress.org/trunk@27096 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
89b8edf8f1
commit
3ccf9e9d29
@ -396,10 +396,10 @@ VIDEO;
|
||||
"<!--[if lt IE 9]><script>document.createElement(\'video\');</script><![endif]-->\n" .
|
||||
'<video class="wp-video-shortcode" id="video-0-1" width="' . $w . '" height="' . $h . '" preload="metadata" controls="controls">' .
|
||||
'<source type="video/mp4" src="http://domain.tld/wp-content/uploads/2013/12/xyz.mp4" />' .
|
||||
'<!-- WebM/VP8 for Firefox4, Opera, and Chrome --><source type="video/webm" src="myvideo.webm" />' .
|
||||
'<!-- Ogg/Vorbis for older Firefox and Opera versions --><source type="video/ogg" src="myvideo.ogv" />' .
|
||||
'<!-- Optional: Add subtitles for each language --><track kind="subtitles" src="subtitles.srt" srclang="en" />' .
|
||||
'<!-- Optional: Add chapters --><track kind="chapters" src="chapters.srt" srclang="en" />' .
|
||||
'<source type="video/webm" src="myvideo.webm" />' .
|
||||
'<source type="video/ogg" src="myvideo.ogv" />' .
|
||||
'<track kind="subtitles" src="subtitles.srt" srclang="en" />' .
|
||||
'<track kind="chapters" src="chapters.srt" srclang="en" />' .
|
||||
'<a href="http://domain.tld/wp-content/uploads/2013/12/xyz.mp4">' .
|
||||
"http://domain.tld/wp-content/uploads/2013/12/xyz.mp4</a></video></div>\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user