video - How to get a snapshot from a YouTube iFrame using Javascript? -


i struggling getting snapshot of given frame embed youtube player in web project. need precise don't want thumbnail, can accessed via url, frame timing of video.

i using youtube player javascript api, imports iframe containing yt player , offers several operations no possibility achieve want.

i tried use html2canvas, reads dom in order make "screenshot" of element, unfortunately doesn't work on cross-origin iframes ...

considering nature of project, not acceptable option download entire video, snapshot system commande such ffmpeg , send program.

if has idea of way achieve this, i'll thankful.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -