久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何將視頻從 Google 驅動器嵌入到網頁?

How to embed videos from Google drive to webpage?(如何將視頻從 Google 驅動器嵌入到網頁?)
本文介紹了如何將視頻從 Google 驅動器嵌入到網頁?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在嘗試在網頁上加載視頻,并且它適用于 YouTube 嵌入代碼.但是,當我將代碼中的 src 替換為視頻的 Google Drive 鏈接(打開共享)時,什么也沒有出現.我的意思是,沒有錯誤,但它是空白的.為什么這里什么都沒有出現?我怎樣才能讓這個谷歌驅動器視頻也加載到我的網頁上?我不想在 chrome 中手動粘貼 url.

I'm trying to load a video on a web page and for YouTube embed code it works. However, when I replace the src in the code with a Google Drive Link of a video (with sharing turned on), nothing comes up. I mean, there is no error but its blank. Why does nothing come up here? How can I get this Google drive video to also to load on my webpage? I dont want to have to paste the url manually in chrome.

這沒有任何作用:

<html>
<head>
</head>
<body>
<iframe width="100%" height="100%" src="https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/view?usp=sharing"></iframe>
</body>
</html>

YouTube 版本完美運行:

The YouTube version works perfectly:

<html>
<head>
</head>
<body>
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/UTt33udwRw0" frameborder="0" allowfullscreen></iframe>
</body>
</html>

如何讓 Google Drive 中的視頻像 YouTube 視頻一樣在我的網頁上播放?如果不能直接嵌入 - 可以使用哪些替代方案讓視頻出現 - iframe 顯然不起作用,必須有一些替代方案.

How do I get the video from Google drive to play on my web page like how the YouTube video plays? If it cant be directly embedded - what alternatives can be used to get the video to appear - iframe is clearly not working, there must be some alternatives.

還有,有人知道如何讓它自動播放嗎?

Also, anyone know how to make it autoplay?

謝謝

推薦答案

您需要使用 Google Drive Embed 選項.這是您要查找的網址:https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/preview

You need to use the Google Drive Embed option. This is the URL you are looking for: https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/preview

<html>
<head>
</head>
<body>
<iframe width="100%" height="100%" src="https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/preview"></iframe>
</body>
</html>

您可以通過將 ?autoplay=1 附加到 URL 來使其自動播放,因此它現在是 https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/preview?autoplay=1.

You can make it autoplay by appending ?autoplay=1 to the URL so it is now https://drive.google.com/file/d/1pdvh_mEnkXPKA3jivYIpYKTaoukxH5p3Yg/preview?autoplay=1.

這篇關于如何將視頻從 Google 驅動器嵌入到網頁?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

discord.js v12: How do I await for messages in a DM channel?(discord.js v12:我如何等待 DM 頻道中的消息?)
how to make my bot mention the person who gave that bot command(如何讓我的機器人提及發出該機器人命令的人)
How to fix Must use import to load ES Module discord.js(如何修復必須使用導入來加載 ES 模塊 discord.js)
How to list all members from a specific server?(如何列出來自特定服務器的所有成員?)
Discord bot: Fix ‘FFMPEG not found’(Discord bot:修復“找不到 FFMPEG)
Welcome message when joining discord Server using discord.js(使用 discord.js 加入 discord 服務器時的歡迎消息)
主站蜘蛛池模板: 高清色| 亚洲成人高清 | 中文字幕一区在线观看视频 | 国产乱码精品一区二区三区中文 | 亚洲精品电影在线观看 | 免费国产一区二区 | 国产欧美一区二区三区在线看 | 精品国产乱码久久久久久蜜退臀 | 欧美一区二不卡视频 | 午夜精品视频在线观看 | 亚州影院 | 国产成人久久av免费高清密臂 | 欧美一二三 | 亚洲一视频 | 久久久久久国产精品 | 国产高清在线观看 | 精品成人av| 99久久婷婷国产精品综合 | 免费簧片视频 | 免费不卡视频 | 亚洲最大av网站 | 国产精品免费在线 | 欧美日韩精品一区二区三区蜜桃 | 欧美国产一区二区 | 亚洲手机视频在线 | 欧美日产国产成人免费图片 | 亚洲国产aⅴ成人精品无吗 国产精品永久在线观看 | 亚洲精品一区av在线播放 | 国产视频久久久久 | 国产91一区 | 久久久久久高潮国产精品视 | 日本免费一区二区三区四区 | 精品视频久久久 | 国产va| 亚洲福利网 | 91电影在线| 精品一区二区视频 | 亚洲国产一区在线 | 国产 欧美 日韩 一区 | 成人片免费看 | 国产视频一区二区 |