SamirHodzic / ngx-embed-video

Get embed code for embedding youtube/vimeo/dailymotion/* video in websites from URL or ID in Angular 6+.
MIT License
56 stars 41 forks source link

not working with CDN and storage-saved videos? #18

Closed farzaneHashemi closed 5 years ago

farzaneHashemi commented 5 years ago

I have this url from a cdn storage which my video is on, and I wanna get it's thumbnail but it seems this library is just working with some specific urls and websites. this is how i use the library:

backtory = 'https://storage.backtory.com/mediaad/video/1540286504509_video_2018-10-10_11-16-01.mp4'; console.log(this.embedService.embed_image(this.backtory ));

I expect this log to be src of a img tag in html, it turns to 'undefined' in the console. can anybody help me out with the issue?

SamirHodzic commented 5 years ago

Hi @farzaneHashemi, that's not supported (there is no chance to know anything about link, as this in your example).