Answer the question
In order to leave comments, you need to log in
How to implement a video player?
How to implement a field for entering a link from YouTube, which is then converted into a video player on the view page? Maybe just post a link.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
I did it with the help of this module
stackoverflow.com/questions/5909121/converting-ar...
, which converts the YouTube link to acc. player code. The user can enter as a link from the address bar of the browser. and a link from the "share" block on the video page.
(essentially the same as in the previous answer, only this is ready-made code)
We carefully look at the YouTube player embed code, for example for the video https://www.youtube.com/watch?v=RnAEp_O3jgw (the first one that came across)
And immediately everything is clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question