{"id":11962,"date":"2019-02-06T17:46:17","date_gmt":"2019-02-06T16:46:17","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=11962"},"modified":"2019-02-11T13:34:07","modified_gmt":"2019-02-11T12:34:07","slug":"bundestag-videos-in-wordpress-einbauen","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/02\/bundestag-videos-in-wordpress-einbauen\/","title":{"rendered":"Bundestag Videos in WordPress einbauen"},"content":{"rendered":"<p>WordPress verbietet aus Sicherheitsgr\u00fcnden das Einf\u00fcgen von Javascript. Ich habe die Bundestagsverwaltung angeschrieben, ob sie nicht \u00e4hnlich wie Youtube einen Embed Code mit Iframe anbieten k\u00f6nnte, denn bisher bekommt man lediglich<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;script id=&quot;tv6995628&quot; src=&quot;https:\/\/webtv.bundestag.de\/player\/macros\/bttv\/hls\/player.js?content=6995628&amp;phi=default&quot;&gt;\r\n&lt;span data-mce-type=&quot;bookmark&quot; style=&quot;display: inline-block; width: 0px; overflow: hidden; line-height: 0;&quot; class=&quot;mce_SELRES_start&quot;&gt;\ufeff&lt;\/span&gt;\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Nat\u00fcrlich k\u00f6nnten man in wp-config.php die Zeile define( &#8216;CUSTOM_TAGS&#8217;, true ); einf\u00fcgen. Besser scheint mir aber, bis auf weiteres das <a href=\"https:\/\/wordpress.org\/plugins\/simple-embed-code\/#description\">Code Embed Plugin<\/a> zu installieren und ein Custom Field f\u00fcr den Video Code anzulegen.<\/p>\n<p><a href=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/02\/screen-12.png\" data-rel=\"key-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/02\/screen-12-620x319.png\" alt=\"\" width=\"620\" height=\"319\" class=\"alignnone size-medium wp-image-11973\" srcset=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/02\/screen-12-620x319.png 620w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/02\/screen-12-768x395.png 768w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/02\/screen-12.png 859w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>Das Ergebnis sieht dann so aus:<\/p>\n<p>{{CODE1}}<\/p>\n<p>Das ist aber auch nur so lange sicher, <a href=\"https:\/\/www.zeit.de\/digital\/datenschutz\/2019-01\/hackerangriff-politiker-bundestag-daten-leak-liveblog\">als der Bundestag nicht wieder gehackt wird<\/a>.<\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 06.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress verbietet aus Sicherheitsgr\u00fcnden das Einf\u00fcgen von Javascript. Ich habe die Bundestagsverwaltung angeschrieben, ob sie nicht \u00e4hnlich wie Youtube einen Embed Code mit Iframe anbieten k\u00f6nnte, denn bisher bekommt man lediglich &lt;script id=&quot;tv6995628&quot; src=&quot;https:\/\/webtv.bundestag.de\/player\/macros\/bttv\/hls\/player.js?content=6995628&amp;phi=default&quot;&gt; &lt;span data-mce-type=&quot;bookmark&quot; style=&quot;display: inline-block; width: 0px; overflow: hidden; line-height: 0;&quot; class=&quot;mce_SELRES_start&quot;&gt;\ufeff&lt;\/span&gt; &lt;\/script&gt; Nat\u00fcrlich k\u00f6nnten man in wp-config.php die Zeile define( &#8216;CUSTOM_TAGS&#8217;, &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/02\/bundestag-videos-in-wordpress-einbauen\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Bundestag Videos in WordPress einbauen<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,2993],"tags":[],"class_list":["post-11962","post","type-post","status-publish","format-standard","hentry","category-computer-software","category-video"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=11962"}],"version-history":[{"count":10,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11962\/revisions"}],"predecessor-version":[{"id":11974,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11962\/revisions\/11974"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=11962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=11962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=11962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}