- 1
Hi everyone why this video don't work in my browser.( My browser is chrome)
<html> <head> <title>first</title> <video controls> <source src="https://www.youtube.com/watch?v=kOZ8bRAO7YQ/video.ogg" type="video/ogg"> it will be work </video> </head> </html>
8 Respuestas
+ 7
You don't have body of your web page..
Add in body tag..
For youtube videos , use iframe and embed like this :
<body>
<iframe width="320" height="240" src="https://www.youtube.com/embed/kOZ8bRAO7YQ">
</iframe>
</body>
Note: domainname/embed/id
+ 2
Since you're trying to host it from youtube, you need to embed the video
<iframe width="560" height="315" src="https://www.youtube.com/embed/kOZ8bRAO7YQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+ 1
where is the "video"?
+ 1
Do you mean you are linking from your site but it doesn't work or that you are trying to view a video with your browser and it doesn't work?
+ 1
Embed the video
0
I have added the code. My question is why the video not working in my browser
0
<html>
<head>
</head>
<body>
<video controls>
<source src=“path—-“>
</video>
</body>
</html>
0
Embed your video by copying the iframe of it and it will work