Is there a way to get an Ultra Minimal YouTube player for web? [closed]

有些话、适合烂在心里 提交于 2019-12-13 23:15:31

问题


I want a YouTube player that just has play, pause, and close as options. Maybe full screen would be fine. No recommended videos, more videos, etc.

I want to share YouTube videos through Google Classroom. I don't want them to be able to click any link that re-directs them back to the YouTube watch page.

Google Classroom only allows you to search for videos using its interface OR provide a watch link / url. I'm trying to use a workaround using an embed code on a Google Site. If it's easy enough to do I might try to teach teachers how to create their own links. Or maybe I can make a custom embed code generator that I can share with them.

I've looked at YouTube embed API code, but cannot get anything to work. I assume it's just my small amount of knowledge about how to code it.

I know I want controls=0 modestbranding=1 and showinfo=0 at the least

I expected this to strip out the navigation bar, YouTube watermark, and Video Title. It didn't do any of them. When I remove all but one of the variables it does that variable. Again, apologies about my lack of understanding on the topic.


回答1:


It's not going to be possible to make it that minimalist. All of the options for embedding videos are listed here:

https://developers.google.com/youtube/player_parameters

You could use an online tool like this to customize everything that's available with an easier to use UI:

https://www.classynemesis.com/projects/ytembed/




回答2:


I'm sorry to say, but I don't think you are able to do so without breaking the YouTube Terms of Service. Removing their watermark sounds especially problematic.

General Use of the Service—Permissions and Restrictions

A. You agree not to distribute in any medium any part of the Service or the Content without YouTube's prior written authorization, unless YouTube makes available the means for such distribution through functionality offered by the Service (such as the Embeddable Player).

B. You agree not to alter or modify any part of the Service.




回答3:


It's not going to be possible to remove the watermark or redirects to Youtube. All options for the iFrame API are here!



来源:https://stackoverflow.com/questions/54258325/is-there-a-way-to-get-an-ultra-minimal-youtube-player-for-web

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!