Archive.org supports folders that contain multiple audio files (probably other kinds of files, I guess). When I paste the URL in Discourse, it gives me an audio player for just the first file. There doesn’t seem to be any simple way on archive.org to get individual URLs for the various files. So it’d be lovely if Discourse would add via onebox the whole set of audio players. Any ideas?
1 个赞
I think that archive.org needs its own onebox engine to handle all the types of content.
Would need an embedding behavior for all of the data types:
article audio collection data education etree image movies software texts web
I think we need help from someone more familiar with their stuff - e.g. what is an etree?
Useful notes:
- For the embeddable types, you can change /details/ to /embed/ and iframe that. But if the type isn’t embeddable, you get a blank screen of HTML.
- Change /details/ to /metadata/ to get a JSON description of the item.
- Not all ‘mediatype=software’ has an /embed/ view. Counterexample: Chessmaster 10th Edition Demo : Ubi Soft Entertainment Software : Free Download, Borrow, and Streaming : Internet Archive
5 个赞
@nicopace 您想在这里详细说明一下吗?
谢谢 @codinghorror,
我不确定发生了什么,但从发帖到现在,似乎发生了某些变化,现在 archive.org 的视频链接被嵌入为 iframe 视频了……(因为我们由两人共同维护我的 Discourse 实例,可能是其他人进行了更新,或者 onebox 依赖于外部服务)。
无论如何,现在可以正常工作了!谢谢!
1 个赞