Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. get featuredVideoUrl(): ?string {
  2. if (this.featuredMedia && this.featuredMedia.id) {
  3. let videoParams;
  4. switch (this.featuredMedia.type) {
  5. case 'YoutubeVideo':
  6. videoParams = {
  7. id: `youtube-video-${this.featuredMedia.id}`,
  8. start: this.featuredMedia.start
  9. };
  10. break;
  11. // ...
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement