summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos')
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-images.json1
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-metadata.json8
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected.html25
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/source.html43
4 files changed, 77 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-images.json b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-images.json
new file mode 100644
index 000000000..0637a088a
--- /dev/null
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-images.json
@@ -0,0 +1 @@
+[] \ No newline at end of file
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-metadata.json b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-metadata.json
new file mode 100644
index 000000000..e0e885940
--- /dev/null
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected-metadata.json
@@ -0,0 +1,8 @@
+{
+ "Author": null,
+ "Direction": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
+ "Image": null,
+ "Title": "Embedded videos test",
+ "SiteName": null
+}
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected.html b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected.html
new file mode 100644
index 000000000..327e6503c
--- /dev/null
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/expected.html
@@ -0,0 +1,25 @@
+<article>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ <h2>Videos</h2>
+ <p>At root</p>
+ <iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/LtOGa5M8AuU" width="560"></iframe>
+ <iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube-nocookie.com/embed/LtOGa5M8AuU" width="560"></iframe>
+ <iframe allowfullscreen="" frameborder="0" height="281" mozallowfullscreen="" src="https://player.vimeo.com/video/32246206?color=ffffff+title=0+byline=0+portrait=0" webkitallowfullscreen="" width="500"></iframe>
+ <p>In a paragraph</p>
+ <p><iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube-nocookie.com/embed/LtOGa5M8AuU" width="560"></iframe></p>
+ <p>In a div</p>
+ <p><iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/LtOGa5M8AuU" width="560"></iframe></p>
+ <h2>Foo</h2>
+ <p>
+ Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ </article> \ No newline at end of file
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/source.html b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/source.html
new file mode 100644
index 000000000..ff43acfa3
--- /dev/null
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/embedded-videos/source.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Embedded videos test</title>
+</head>
+<body>
+ <article>
+ <h1>Lorem</h1>
+ <div>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </div>
+ <h2>Videos</h2>
+ <p>At root</p>
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/LtOGa5M8AuU"
+ frameborder="0" allowfullscreen=""></iframe>
+ <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/LtOGa5M8AuU"
+ frameborder="0" allowfullscreen=""></iframe>
+ <iframe src="https://player.vimeo.com/video/32246206?color=ffffff+title=0+byline=0+portrait=0"
+ width="500" height="281" frameborder="0"
+ webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
+ <p>In a paragraph</p>
+ <p><iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/LtOGa5M8AuU"
+ frameborder="0" allowfullscreen=""></iframe></p>
+ <p>In a div</p>
+ <div><iframe width="560" height="315" src="https://www.youtube.com/embed/LtOGa5M8AuU"
+ frameborder="0" allowfullscreen=""></iframe></div>
+ <h2>Foo</h2>
+ <div>
+ Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+ </div>
+ </article>
+</body>
+</html>