How to load Video from drive? | Sololearn: Learn to code for FREE!

+3

How to load Video from drive?

Im trying to find a way to load a video from my google drive on a web page but it is kind of not going well. Tell me how its done!!

2/24/2019 8:38:16 PM

Mahdi

46 Answers

New Answer

+3

<video> <source src="https://drive.google.com/uc?export=download&id=videoID" type='video/mp4'> </video>

+3

But i do use my pc for the "inspect element" thing

+2

It better be so compatitable, with every browser out there and every kind of platform and OS. Thats what a good code is.

+2

Only if they give some free cloud storage that i could work on it

+2

Yeah i do that

+2

Good idea

+2

Its really nice having you around me.

+2

Thanks for everything man

+1

Check this out https://code.sololearn.com/WlmAinQT5x4l/?ref=app

+1

Or, you can use <iframe></iframe> tag.

+1

I didnt really get what you said. Could you make an example out of my code?

+1

Example: <iframe width="100%" height="100%" src="https://drive.google.com/file/d/1H0wuutW5rmFZzoz8iOMt_KhXjDM6xpZY/view?usp=drivesdk" frameborder="0"></iframe>

+1

https://code.sololearn.com/WlmAinQT5x4l/?ref=app What you said with the video tag up there. Change my code if possible so i could see what exactly is going on. Thanks alot

+1

See what happend with your example https://code.sololearn.com/WO4quKIdrpUH/?ref=app

+1

Have you shared video?

+1

Just change line to: <iframe width="100%" height="100%" src="https://drive.google.com/file/d/1H0wuutW5rmFZzoz8iOMt_KhXjDM6xpZY/preview" frameborder="0"></iframe>

+1

It worked?

+1

Have you try it?

+1

https://code.sololearn.com/WO4quKIdrpUH/?ref=app Its not perfert yet

+1

And thats not good