JSFiddle - React, Tailwind, and code Playground
by guest271314
HTML
<div class="items"></div>
JavaScript
var xml = "<sbs version='1.0' xmlns:media='http://search.yahoo.com/mrss/'>" + "<channel>" + "<title>Feed</title>" + "<description>Video</description>" + "<link>//www.URL.com</link>" + "<lastBuildDate>Fri</lastBuildDate>" + "<pubDate>Fri</pubDate>" + "<ttl>1</ttl>" + "</channel>" + "<item>" + "<title>title 1</title>" + "<description>aflevering</description>" + "<link>//www.google.com</link>" + "<guid>//www.google.com</guid>" + "<formatname>berg</formatname>" + "<pubDate>Wed</pubDate>"
+ "<!-- oEmbed -->" + "<oembed>" + "<version>1.0</version>" + "<type>video</type>" + "<provider_name>provider</provider_name>" + "<provider_url>http://www.video.nl/url</provider_url>" + "<width>10</width>" + "<height>10</height>" + "<title>title1</title>" + "<author_name>author name 0</author_name>" + "<author_url>http://www.google.com/</author_url>" + "</oembed>"
+ "<media:content url=\"http://google.com\" type=\"text/html\" medium=\"document\"" + " expression=\"full\"" + " height=\"10\"" + " width=\"10\"" + " lang=\"us\">" + "<media:title type=\"plain\">title</media:title>" + "<media:description type=\"plain\">title descr</media:description>" + "<media:thumbnail url=\"http://lorempixel.com/145/145/\" width=\"10\" height=\"10\" />" + "</media:content>" + "</item>" + "<item>" + "<title>title</title>" + "<description>aflevering</description>" + "<link>//www.google.com</link>" + "<guid>//www.google.com</guid>" + "<formatname>berg</formatname>" + "<pubDate>Wed</pubDate>"
+ "<!-- oEmbed -->" + "<oembed>" + "<version>1.0</version>" + "<type>video</type>" + "<provider_name>provider</provider_name>" + "<provider_url>http://www.video.nl/url</provider_url>" + "<width>10</width>" + "<height>10</height>" + "<title>title1</title>" + "<author_name>author name 1</author_name>" + "<author_url>http://www.google.com/</author_url>" + "</oembed>"
+ "<media:content url=\"http://google.com\" type=\"text/html\" medium=\"document\"" + " expression=\"full\"" + " height=\"10\"" + " width=\"10\"" + "...