Full Screen Video

How can I get this code to work on my New Google Site, https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_fullscreen_video. When I embed this code, the video doesn’t display. Thanks.

Without seeing your version of the markup, it’s hard to tell, but the guess would be the path to the video is not correct…

1 Like

Thank you for your response. I don’t have a version. I just simply copied and pasted that code and embedded in my New Google Site. The original video doesn’t appear. I attempted to to replace the original with a Youtube video, but that didn’t work either. I’m not sure how to make videos work with this code.

You would need an absolute path to the video file if it does not exist on your own server. The code as is has a relative url.

src=“rain.mp4”

4 Likes

…and in full is…

https://www.w3schools.com/howto/rain.mp4

coothead

3 Likes

Adding the full url worked! Thank you. But, how can I replace that video with a Youtube video? I tried inserting a Youtube video url but it didn’t work. Thanks.

You would need to convert the “Youtube video” to mp4 format. :winky:

coothead

Thanks. I will give that a try.

If you experience any problems, give me the address and I will do it for you. :winky:

coothead

Thanks.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.