summaryrefslogtreecommitdiffstats
path: root/webapp/components/youtube_video/youtube_video.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/youtube_video/youtube_video.jsx')
-rw-r--r--webapp/components/youtube_video/youtube_video.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/youtube_video/youtube_video.jsx b/webapp/components/youtube_video/youtube_video.jsx
index 34a0ed14c..c2bfa317c 100644
--- a/webapp/components/youtube_video/youtube_video.jsx
+++ b/webapp/components/youtube_video/youtube_video.jsx
@@ -14,7 +14,8 @@ export default class YoutubeVideo extends React.PureComponent {
channelId: PropTypes.string.isRequired,
currentChannelId: PropTypes.string.isRequired,
link: PropTypes.string.isRequired,
- show: PropTypes.bool.isRequired
+ show: PropTypes.bool.isRequired,
+ onLinkLoaded: PropTypes.func
}
constructor(props) {
@@ -103,6 +104,7 @@ export default class YoutubeVideo extends React.PureComponent {
} else {
this.loadWithoutKey();
}
+ this.props.onLinkLoaded();
}
loadWithoutKey() {