2015-04-21 96 views
0

的YouTube弃用V2所以现在我不能获取电影预告片,我用下面的代码:的YouTube订阅V3

<script type="text/javascript" src="https://gdata.youtube.com/feeds/api/videos?q={$mov.title|replace:" ":'+'}+Trailer&alt=json-in-script&callback=ShowMovies&max-results=1"> 

我希望有人能帮助我让这段代码的工作与V3 API,使其再次获取电影预告片。

回答