How to get the URL of remote video inserted by media field in block or paragraph twig? I am using the paragraphs module to create video galleries from youtube videos. When I use {{ content.video_gallery }} it's working and showing the youtube video thumbnail but I want to show this video in a popup for which I have written a code in which I need only the URL of the youtube video. I am searching for two days I found solutions for image and video but no solution found for remote video URL.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.