如果我有YouTube视频网址,有没有办法使用PHP和cURL从YouTube API获取相关缩略图?
是否可以在GitHub存储库中的README文件中放置屏幕截图?语法是什么?
我对标记很新(虽然它非常容易拾取).我正在开发一个软件包,并试图让wiki页面看起来很好看作为帮助手册.我可以很容易地将YouTube视频链接插入维基页面,但如何嵌入YouTube视频.这可能是不可能的.
我已经读过你可以使用HTML标签,所以我尝试使用这个LINK嵌入HTML ,如下所示:
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/user/wwwLoveWatercom?v=BTRN1YETpyg" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/user/wwwLoveWatercom?v=BTRN1YETpyg"
type="application/x-shockwave-flash"
wmode="transparent" width="425" height="350" />
</object>
Run Code Online (Sandbox Code Playgroud)
并保存了页面但没有发生任何事情.
从 openstreetmap 页面上的共享选项卡,我可以将地图视图导出为 HTML,例如:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe>
<br/><small><a href="https://www.openstreetmap.org/#map=17/46.23438/6.05463">View Larger Map</a></small>
Run Code Online (Sandbox Code Playgroud)
我想将它嵌入到 github 上的 README.md 页面中,例如
环顾四周,最接近iframe在 markdown 中嵌入s 的是git lab guide。随后我尝试了<figure class="video_container">标签,但在 gitlab 或 github 上都看不到它。
# how to find us?
we will be here:
<figure class="video_container">
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe>
</figure>
Run Code Online (Sandbox Code Playgroud)
我是否遗漏了一些东西,或者这更好地留给真正的 HTML 而不是降价可以/应该做什么?
我想学习如何使用rawgit.com来提供其他应用程序github.com.所以我们有一个通常的方法来下载和安装homebrew在osx上.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run Code Online (Sandbox Code Playgroud)
我install在GitHub上找不到该文件.它在哪里?
有没有办法在Github readme.md中添加音频栏?我希望能够通过readme.md直接播放某个mp3文件,而不是直接播放到某些soundcloud或youtube链接.提前致谢.
我经常嵌入iframes我的 github.io 页面,但这个失败了 - 我不明白为什么。
的iframe:
<iframe src="http://www.javarepl.com/embed.html" style="width: 500px; height: 130px; border: 0px"></iframe>
Run Code Online (Sandbox Code Playgroud)
嵌入在此页面的多个位置 -未显示:
https://seinecle.github.io/codapps/generated-html/essential-notions-of-code.html
(注意:在本地加载 html 页面时,iframe 会显示出来)。