K
K
kramidev2015-02-02 08:18:55
YouTube
kramidev, 2015-02-02 08:18:55

rails. How to embed video from youtube?

Hi all. Can you give me a tutorial on how to embed a youtube video?

<%= video_tag 'https://www.youtube.com/watch?v=85v1JKPrtFo' %>

Here it didn't start.:/ I picked youtube_it but didn't figure it out. Who knows tutorial?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Benajmin Smith, 2015-02-02
@kramidev

<iframe width="100%" height="" src="https://www.youtube.com/watch?v=85v1JKPrtFo" frameborder="0" allowfullscreen></iframe>

Rails have nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question