Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube 嵌入問題 #9

Open
mark19891107 opened this issue Nov 28, 2016 · 0 comments
Open

Youtube 嵌入問題 #9

mark19891107 opened this issue Nov 28, 2016 · 0 comments
Assignees

Comments

@mark19891107
Copy link
Contributor

在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 語法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants