(source, playerParams)
| 42 | |
| 43 | export default class VideoSourceReader { |
| 44 | constructor(source, playerParams) { |
| 45 | this.source = source; |
| 46 | this.playerParams = playerParams; |
| 47 | this.isYouTube = !!getYouTubeVideoId(source); |
| 48 | this.isVimeo = !!getVimeoVideoId(source); |
| 49 | } |
| 50 | |
| 51 | isEmbeddableVideo() { |
| 52 | return this.isYouTube || this.isVimeo; |
nothing calls this directly
no test coverage detected