SHARE
TWEET

Untitled

a guest Oct 21st, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top