Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get featuredVideoUrl(): ?string {
- if (this.featuredMedia && this.featuredMedia.id) {
- let videoParams;
- switch (this.featuredMedia.type) {
- case 'YoutubeVideo':
- videoParams = {
- id: `youtube-video-${this.featuredMedia.id}`,
- start: this.featuredMedia.start
- };
- break;
- // ...
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement