Trim video using YouTube Data API

余生颓废 提交于 2019-12-22 09:48:27

问题


I understand that you can trim the video using the youtube.com interface but I was wondering if it is possible to use the YouTube Data API to trim the video.

Since I don't user to upload video on my site longer than 15 seconds.

Thanks


回答1:


API example (according to http://www.youtube.com/player_api) to TRIM with START and END parameters:

http://rawgit.com/tazotodua/several-YOUTUBE-PLAYER-SCRIPTS__with_API/master/example99-CUTTER/index.html



来源:https://stackoverflow.com/questions/27867364/trim-video-using-youtube-data-api

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