close
要在網站裡內嵌簡報檔,第一個想到的就是用了很久的國外簡報網站服務 Slideshare.net,這個被 LinkedIn 買下來的服務對我而言超級好用,除了可以上傳簡報檔,還可以內嵌 YouTube 影片,我覺得超級方便。
不過主管指示不能有相關連結功能 (related feed),免得演算法推薦了不適當的簡報在尾巴。
找了一下找到這篇 2008 年的舊文章:"How to turn off the "Related Feed" at the end of embedded slideshows",當年嵌入簡報的格式還是這樣:
<embed src="http://static.slideshare. net/swf/ssplayer2.swf?doc=somr-the-social-media&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355">
現在的內嵌碼已經變成 iframe:
<iframe src="//www.slideshare.net/slideshow/embed_code/key/{slide unique id}" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen=""> </iframe>
但是把當年的參數 "rel=0" 加上去,還是有用的耶:
<iframe src="//www.slideshare.net/slideshow/embed_code/key/{slide unique id}?rel=0" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen=""> </iframe>
打完收工~
文章標籤
全站熱搜