{"id":1979,"date":"2015-06-04T05:23:40","date_gmt":"2015-06-03T20:23:40","guid":{"rendered":"http:\/\/uda2.com\/blog\/?p=1979"},"modified":"2015-06-04T05:23:40","modified_gmt":"2015-06-03T20:23:40","slug":"otoemon","status":"publish","type":"post","link":"https:\/\/uda2.com\/blog\/otoemon\/","title":{"rendered":"\u97f3\u30a8\u30e2\u30f3PLAYLIST by Youtube"},"content":{"rendered":"<p>\u4ed5\u4e8b\u4e2d\u306f\u30c6\u30ec\u30d3\u3092BGM\u4ee3\u308f\u308a\u306b\u3057\u3066\u305f\u304c\u3001\u96fb\u6c17\u4ee3\u304c\u9ad8\u3044\u3068\u6c17\u3065\u304d\u3001Youtube\u3067\u97f3\u697d\u3092\u6d41\u3059\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u3060\u304c\u666e\u6bb5\u97f3\u697d\u3092\u8074\u304f\u7fd2\u6163\u304c\u7121\u3044\u3068\u3044\u3044\u66f2\u3092\u63a2\u3059\u306e\u306b\u4f55\u3092\u3068\u3063\u304b\u304b\u308a\u306b\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u5206\u3089\u306a\u3044\u3002<br \/>\n\u97f3\u697d\u756a\u7d44\u300c<a href=\"http:\/\/www.ktv.jp\/otoemon\/index.html\" target=\"_blank\">\u97f3\u30a8\u30e2\u30f3<\/a>\u300d\u306b\u76ee\u3092\u3064\u3051\u305f\u3001\u95a2\u897f\u4ee5\u5916\u306e\u4eba\u306f\u3054\u5b58\u3058\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u300c\u97f3\u30a8\u30e2\u30f3\u300d\u306f\u95a2\u897f\u306e\u6df1\u591c\u67a0\u306710\u5e74\u4ee5\u4e0a\u30a4\u30b1\u3066\u308b\u30df\u30e5\u30fc\u30b8\u30c3\u30af\u30d3\u30c7\u30aa\u3092\u7d39\u4ecb\u3057\u7d9a\u3051\u3066\u3044\u308b\u5fa1\u9577\u5bff\u97f3\u697d\u756a\u7d44\u3067\u3059\u3002<br \/>\n\u305d\u3093\u306a\u300c\u97f3\u30a8\u30e2\u30f3\u300d\u3067\u7d39\u4ecb\u3055\u308c\u305f\u66f2\u3092Youtube\u3067\u9023\u7d9a\u518d\u751f\u3059\u308b\u4e8b\u306b\u3057\u305f\u3002<br \/>\n<!--more--><br \/>\n\u307e\u305a\u306f\u97f3\u30a8\u30e2\u30f3\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\uff08\u60c5\u5831\u53ce\u96c6\uff09\u3057\u3066\u30bf\u30a4\u30c8\u30eb\u3068\u6b4c\u624b\u540d\u3092\u62bd\u51fa\u3057\u305f\u3002<br \/>\n\u305d\u308c\u304b\u3089Youtube\u3092\u691c\u7d22\u3059\u308b\u306e\u3060\u3051\u3069\u3001\u3053\u308c\u306fGoogle\u304c\u7528\u610f\u3057\u3066\u308b<a href=\"https:\/\/developers.google.com\/youtube\/v3\/?hl=ja\" target=\"_blank\">YouTube Data API (v3)<\/a>\u306b\u304a\u4efb\u305b\u3059\u308b\u3002<\/p>\n<p>Google\u306e\u591a\u304f\u306eAPI\u306fAPI\u30ad\u30fc\u304c\u5fc5\u8981\u3067\u4e0b\u8a18\u306e\u624b\u9806\u3067\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u305f\u3002<br \/>\n1. <a href=\"https:\/\/console.developers.google.com\/\" target=\"_blank\">Google Developers Console<\/a>\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n2. \u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u300cAPI\u3068\u8a8d\u8a3c\u300d\u306e\u300cAPI\u300d\u304b\u3089\u300cYouTube Data API\u300d\u306e\u627f\u8a8d\u3092\u8a31\u53ef\u3059\u308b\u3002<br \/>\n3. \u300cAPI\u3068\u8a8d\u8a3c\u300d\u306e\u300c\u8a8d\u8a3c\u60c5\u5831\u300d\u304b\u3089\u516c\u958bAPI\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3067\u65b0\u3057\u3044\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3002\u3061\u306a\u307f\u306b\u4eca\u56de\u306fPHP\u3067\u691c\u7d22\u3059\u308b\u306e\u3067\u300c\u30b5\u30fc\u30d0\u30fc\u30ad\u30fc\u300d\u3092\u4f7f\u3046\u3002<\/p>\n<p>\u500b\u4eba\u7684\u306b\u306fIP\u30a2\u30c9\u30ec\u30b9\u3092\u9593\u9055\u3048\u3066\u300cThere is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.\u300d\u3068\u30a8\u30e9\u30fc\u304c\u52d5\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u591a\u304f\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u7ba1\u7406\u3057\u3066\u308b\u4eba\u306f\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u3002<\/p>\n<p>API\u30ad\u30fc\u304c\u624b\u306b\u5165\u3063\u305f\u3089PHP\u3067\u691c\u7d22\u6a5f\u80fd\u306e\u5b9f\u88c5\u3067\u3059\u304c<a href=\"https:\/\/github.com\/google\/google-api-php-client\" target=\"_blank\">google\/google-api-php-client<\/a>\u3068\u3044\u3046\u5c02\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u7528\u610f\u3055\u308c\u3066\u308b\u306e\u3067\u3053\u308c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304f\u3002<br \/>\n<a href=\"https:\/\/developers.google.com\/youtube\/v3\/code_samples\/php?hl=ja#search_by_keyword\" target=\"_blank\">YouTube Data API: PHP \u30b3\u30fc\u30c9 \u30b5\u30f3\u30d7\u30eb<\/a>\u3092\u53c2\u8003\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u304c\u300cClass &#8216;Google_Service&#8217; not found\u300d\u3068\u304b\u8a00\u308f\u308c\u3066\u52d5\u304b\u306a\u3044\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u65b9\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u8997\u304f\u3068\u307e\u305a\u6700\u521d\u306b\u300cGoogle\/autoload.php\u300d\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u540c\u3058\u3088\u3046\u306b\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u52d5\u753b\u3092\u9023\u7d9a\u518d\u751f\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u65b9\u6cd5\u3092\u6a21\u7d22\u3057\u3066\u308b\u3068\u30b3\u30ec\u3082Google\u304c\u7528\u610f\u3057\u305f<a href=\"https:\/\/developers.google.com\/youtube\/iframe_api_reference?hl=ja\" target=\"_blank\">iframe \u7d44\u307f\u8fbc\u307f\u306e YouTube Player API<\/a>\u306ecuePlaylist\u306b\u52d5\u753bID\u3092\u767b\u9332\u3059\u308b\u3068\u9806\u756a\u306b\u518d\u751f\u3057\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u7d50\u5c40Google API\u306b\u983c\u308a\u3063\u304d\u308a\u3060\u304c\u5b8c\u6210\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/otoemon.uda2.com\/\" target=\"_blank\">\u97f3\u30a8\u30e2\u30f3PLAYLIST by Youtube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ed5\u4e8b\u4e2d\u306f\u30c6\u30ec\u30d3\u3092BGM\u4ee3\u308f\u308a\u306b\u3057\u3066\u305f\u304c\u3001\u96fb\u6c17\u4ee3\u304c\u9ad8\u3044\u3068\u6c17\u3065\u304d\u3001Youtube\u3067\u97f3\u697d\u3092\u6d41\u3059\u3053\u3068\u306b\u3057\u305f\u3002 \u3060\u304c\u666e\u6bb5\u97f3\u697d\u3092\u8074\u304f\u7fd2\u6163\u304c\u7121\u3044\u3068\u3044\u3044\u66f2\u3092\u63a2\u3059\u306e\u306b\u4f55\u3092\u3068\u3063\u304b\u304b\u308a\u306b\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u5206\u3089\u306a\u3044\u3002 \u97f3\u697d\u756a\u7d44\u300c\u97f3\u30a8\u30e2\u30f3\u300d\u306b\u76ee\u3092\u3064\u3051<\/p>\n","protected":false},"author":2,"featured_media":1980,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[205],"tags":[308,307,309],"class_list":["post-1979","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-creatorsdiary","tag-google-api","tag-youtube","tag-309"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/1979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/comments?post=1979"}],"version-history":[{"count":3,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/1979\/revisions"}],"predecessor-version":[{"id":1983,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/1979\/revisions\/1983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media\/1980"}],"wp:attachment":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media?parent=1979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/categories?post=1979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/tags?post=1979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}