Skip to content

Youtube 嵌入問題 #9

Description

@mark19891107

在Discourse上加入Youtube網址,會以2種形式呈現

直接是連結的形式
<a href=\"https://www.youtube.com/watch?v=Gz93tS7rCXg\">https://www.youtube.com/watch?v=Gz93tS7rCXg</a>

以及Onebox形式
<div class=\"lazyYT\" data-youtube-id=\"Gz93tS7rCXg\" data-youtube-title=\"11/22 澎湖科技大學演講及問答\" data-width=\"480\" data-height=\"270\" data-parameters=\"feature=oembed&amp;wmode=opaque\"></div>

以上兩種形式都要有版法轉成在網頁上可直接嵌入的 iframe 語法

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions