Display thumbnail video

Hello everyone In my application, the user will copy and paste the youtube video link into the text box, and as soon as he clicks the add button, I should display a thumbnail of the video.

How to render a video from a YouTube page?

I use jQuery and HTML5 in the interface

+3
source share
2 answers

There is a jQuery plugin to capture YouTube thumbnails from the URL you provided.

Take a look at: http://custom-drupal.com/jquery-demo/jyoutube/

http://plugins.jquery.com/project/jyoutube

+1
source

Source: https://habr.com/ru/post/1788995/


All Articles