R
R
ragetits2014-08-05 14:52:45
YouTube
ragetits, 2014-08-05 14:52:45

How to embed youtube video on your website?

Hello, I would like to embed a youtube video on my website.
Tried different options:
1). iframe width="560" height="315" src="#" frameborder="0" allowfullscreen /iframe
2). object width="560" height="315"
param name="movie" value="#" /param
param name="allowFullScreen" value="true">/embed
3).video
source src="#" ( this I don’t remember exactly the option, but I did everything as in the example)
/video
Tested through Mozilla, Chrome and Safari, the result is the same everywhere.
In general, none of them displays a video on the site. Maybe someone knows what's wrong? I would not want to insert a separate player through Javascript.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Petrov, 2014-08-05
@ragetits

For example like this jsfiddle.net/petroveg/35zg5/2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question