I'm learning web development with Drupal 7.

I can embed youtube video using CKEditor on a node. I like to play embedded video looks like on YIFY and IMDB as popup/overlay. It means when I click on play button it will open as popup on the same page and on click outside the youtube player or whatever, it will stop and display nodes' content.

How this can be possible, JS/JQuery will be used? If yes then how and please suggest me the other ways as well.


You can easily achieve this functionality by using something like colorbox. This will allow you to open videos in popup. Since you've just started learning drupal, I would recommend that you thoroughly follow documentation for this module.

Another alternative is using modules video_embed_field along with colorbox. This will allow you to use colorbox as field formatter.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.