{"id":14297,"date":"2021-09-17T17:15:11","date_gmt":"2021-09-17T08:15:11","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=14297"},"modified":"2023-05-28T08:00:11","modified_gmt":"2023-05-27T23:00:11","slug":"%e3%80%90web%e9%96%8b%e7%99%ba%e3%80%91%e3%80%8cdata-url-schema%e3%80%8d%e3%81%a8%e3%80%8c","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=14297","title":{"rendered":"\u3010Web\u958b\u767a\u3011\u300cData URL Schema\u300d\u3068\u300cBlob URL Schema\u300d\u306e\u9055\u3044"},"content":{"rendered":"<h2>Data URL Schema<\/h2>\n<ul>\n<li>\u300cdata:\u300d\u3067\u59cb\u307e\u308bURL<\/li>\n<li>img\u30bf\u30b0\u306esrc\u306b\u57cb\u3081\u8fbc\u3081\u308b\u3002<\/li>\n<\/ul>\n<h3>\u4ed5\u7d44\u307f<\/h3>\n<ul>\n<li>Blob URL Schema\u3068\u7570\u306a\u308a\u76f4\u63a5\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092URL\u306b\u57cb\u3081\u8fbc\u3081\u308b\u3002<\/li>\n<\/ul>\n<h3>\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>Blob URL Schema\u3068\u7570\u306a\u308a\u9759\u7684\u306b\u3082\u5229\u7528\u3067\u304d\u308b\u3002<\/li>\n<li>\u591a\u304f\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3002(Blob URL Schema\u306b\u6bd4\u3079\u3066\u30ec\u30ac\u30b7\u30fc\u30d6\u30e9\u30a6\u30b6\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/li>\n<\/ul>\n<h3>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u306a\u3044\u305f\u3081\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3073\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u76f4\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<li>100M\u3092\u8d85\u3048\u308b\u3088\u3046\u306a\u30b5\u30a4\u30ba\u3060\u3068\u3001\u30e1\u30e2\u30ea\u304c\u903c\u8feb\u3057\u3066\u975e\u5e38\u306b\u51e6\u7406\u304c\u91cd\u305f\u3044\u3002\uff08\u30d6\u30e9\u30a6\u30b6\u304c\u5fdc\u7b54\u4e0d\u80fd\u306b\u306a\u308b\uff09<\/li>\n<li>HTML\u306b\u3068\u3066\u3082\u9577\u3044\u6587\u5b57\u5217\u3092\u8a18\u8ff0\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<\/ul>\n<h3>\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9<\/h3>\n<ul>\n<li>API\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u9001\u4fe1<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3092\u5c11\u306a\u304f\u3059\u308b\u3002<\/li>\n<li>CSS\u3067\u306e\u5c0f\u753b\u50cf\u8aad\u307f\u8fbc\u307f<\/li>\n<\/ul>\n<h2>Blob URL Schema<\/h2>\n<ul>\n<li>HTML5\u4e16\u4ee3\u306e\u6a5f\u80fd(File API\u306eFileReader\u3092\u4f7f\u3046\u3002)<\/li>\n<li>\u300cblob:\u300d\u3067\u59cb\u307e\u308bURL\u306e\u4e00\u7a2e\u3001blob\u4ee5\u964d\u306f\u30e9\u30f3\u30c0\u30e0\u306a\u6587\u5b57\u5217<\/li>\n<li>img\u30bf\u30b0\u306esrc\u306b\u57cb\u3081\u8fbc\u3081\u308b\u3002<\/li>\n<\/ul>\n<h3>\u4ed5\u7d44\u307f<\/h3>\n<ul>\n<li>JavaScript\u304b\u3089\u52d5\u7684\u306b\u3057\u304b\u751f\u6210\u3067\u304d\u306a\u3044\u3002<\/li>\n<li>\u6587\u5b57\u5217\u306b\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u304c\u4fdd\u6301\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306a\u3069\u306b\u4fdd\u6301\u3055\u308c\u3066\u3044\u308b\u3002<\/li>\n<li>\u30ed\u30fc\u30ab\u30eb\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\uff08\u30d6\u30e9\u30a6\u30b6\u306e\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u3067\u306e\u3053\u3068\u3067\u306f\u306a\u304f\u3001\u30e6\u30fc\u30b6\u30fc\u306ePC\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\uff09\u306b\u4fdd\u6301\u3057\u3066\u304a\u308a\u975e\u540c\u671f\u306b\u901a\u4fe1\u3059\u308b\u306e\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u304c\u8a31\u3059\u9650\u308a\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3067\u304d\u3001\u30d6\u30e9\u30a6\u30b6\u30e1\u30e2\u30ea\u3082\u903c\u8feb\u3057\u306a\u3044\u3002<\/li>\n<li>\u300cURL.createObjectURL()\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u7c21\u5358\u306bBlob\u304b\u3089\u751f\u6210\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n<h3>\u7834\u68c4\u3059\u308b\u306b\u306f\uff1f<\/h3>\n<ul>\n<li>\u73fe\u5728\u306e\u30da\u30fc\u30b8\u304c\u30a2\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3068Blob URL Schema\u304c\u81ea\u52d5\u6d88\u6ec5\u3059\u308b\u3002<\/li>\n<li>\u624b\u52d5\u3067\u3082\u524a\u9664\u306f\u53ef\u80fd\u3002<\/li>\n<\/ul>\n<h3>\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>Data URL Schema\u3068\u7570\u306a\u308a\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u30d6\u30e9\u30a6\u30b6\u306b\u30d0\u30a4\u30ca\u30ea\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u5927\u5bb9\u91cf\u306e\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092\u6271\u3046\u3053\u3068\u304c\u53ef\u80fd\u3002(100MB\u3092\u8d85\u3048\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u5b9f\u7528\u306b\u8010\u3048\u308b\u3002)<\/li>\n<li>\u30e9\u30f3\u30c0\u30e0\u306a\u6587\u5b57\u5217\u306a\u306e\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u500b\u4eba\u60c5\u5831\u304c\u958b\u767a\u8005\u5074\u306b\u6f0f\u6d29\u3057\u306a\u3044\u3002\uff08\u30e6\u30fc\u30b6\u30fc\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306a\u3069\uff09<\/li>\n<\/ul>\n<h3>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>\u3042\u304f\u307e\u3067\u30e1\u30e2\u30ea\u3067\u306f\u306a\u304f\u30d6\u30e9\u30a6\u30b6\u306b\u4fdd\u6301\u3059\u308b\u306e\u3067\u3001\u4ed6\u306e\u7aef\u672b\u3084\u4ed6\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u898b\u308b\u3068\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3002<\/li>\n<li>\u307e\u305f\u3001\u73fe\u5728\u306e\u30da\u30fc\u30b8\u3092\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3068Blob URL Schema\u3082\u6d88\u6ec5\u3057\u307e\u3059\u3002<\/li>\n<li>Data URL Schema\u306b\u6bd4\u3079\u3066\u30ec\u30ac\u30b7\u30fc\u30d6\u30e9\u30a6\u30b6\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002\uff08HTML5\u306a\u306e\u3067\u65b0\u3057\u3081\u306e\u6280\u8853\u3067\u3059\u3002\uff09<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Data URL Schema \u300cdata:\u300d\u3067\u59cb\u307e\u308bURL img\u30bf\u30b0\u306esrc\u306b\u57cb\u3081\u8fbc\u3081\u308b\u3002 \u4ed5\u7d44\u307f Blob URL Schema\u3068\u7570\u306a\u308a\u76f4\u63a5\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092URL\u306b\u57cb\u3081\u8fbc\u3081\u308b\u3002 \u30e1\u30ea\u30c3\u30c8 Blob URL Sche [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[122],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14297"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14297"}],"version-history":[{"count":6,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14297\/revisions"}],"predecessor-version":[{"id":20678,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14297\/revisions\/20678"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14297"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}