+
+https://www.youtube.com/watch?v=Nl6U7UotA-M
State of the Word 2016
diff --git a/components/html-embed/index.js b/components/html-embed/index.js
new file mode 100644
index 00000000000000..c4e113f13e54d4
--- /dev/null
+++ b/components/html-embed/index.js
@@ -0,0 +1,33 @@
+// When embedding HTML from the WP oEmbed proxy, we need to insert it
+// into a div and make sure any scripts get run. This component takes
+// HTML and puts it into a div element, and creates and adds new script
+// elements so all scripts get run as expected.
+
+export default class HtmlEmbed extends wp.element.Component {
+
+ componentDidMount() {
+ const body = this.node;
+ const { html = '' } = this.props;
+
+ body.innerHTML = html;
+
+ const scripts = body.getElementsByTagName( 'script' );
+ const newScripts = Array.from( scripts ).map( ( script ) => {
+ const newScript = document.createElement( 'script' );
+ if ( script.src ) {
+ newScript.src = script.src;
+ } else {
+ newScript.innerHTML = script.innerHTML;
+ }
+ return newScript;
+ } );
+
+ newScripts.forEach( ( script ) => body.appendChild( script ) );
+ }
+
+ render() {
+ return (
+ this.node = node } />
+ );
+ }
+}
diff --git a/components/index.js b/components/index.js
index 50ca974a39f10b..1582340f6b380e 100644
--- a/components/index.js
+++ b/components/index.js
@@ -1,6 +1,7 @@
export { default as Button } from './button';
export { default as Dashicon } from './dashicon';
export { default as FormToggle } from './form-toggle';
+export { default as HtmlEmbed } from './html-embed';
export { default as IconButton } from './icon-button';
export { default as Panel } from './panel';
export { default as PanelHeader } from './panel/header';
diff --git a/components/placeholder/style.scss b/components/placeholder/style.scss
index d28fea95f215cc..cb1f1aee0fcb8c 100644
--- a/components/placeholder/style.scss
+++ b/components/placeholder/style.scss
@@ -22,7 +22,8 @@
}
}
-.components-placeholder__fieldset {
+.components-placeholder__fieldset,
+.components-placeholder__fieldset form {
display: flex;
flex-direction: row;
justify-content: center;
diff --git a/post-content.js b/post-content.js
index 7313647c435d33..185280888e2c57 100644
--- a/post-content.js
+++ b/post-content.js
@@ -41,7 +41,7 @@ window._wpGutenbergPost = {
'',
'',
- 'State of the Word 2016',
+ 'https://www.youtube.com/watch?v=Nl6U7UotA-MState of the Word 2016',
'',
'',