{"id":55,"date":"2014-12-02T15:43:37","date_gmt":"2014-12-02T06:43:37","guid":{"rendered":"http:\/\/www.kwonline.org\/memo2\/?p=55"},"modified":"2014-12-02T15:43:37","modified_gmt":"2014-12-02T06:43:37","slug":"adobe-analytics-html5%e5%8b%95%e7%94%bb%e8%a8%88%e6%b8%ac","status":"publish","type":"post","link":"https:\/\/www.kwonline.org\/memo2\/2014\/12\/02\/adobe-analytics-html5%e5%8b%95%e7%94%bb%e8%a8%88%e6%b8%ac\/","title":{"rendered":"[Adobe Analytics] HTML5\u52d5\u753b\u8a08\u6e2c"},"content":{"rendered":"<p>\t\t\t\tSiteCatalyst\u306e\u9803\u304b\u3089\u4f7f\u308f\u308c\u3066\u3044\u308b\u52d5\u753b\u8a08\u6e2c\u624b\u6cd5\u3001Milestone\u578b\u8a08\u6e2c\u3092\u4f7f\u3063\u3066\u3001HTML5\u52d5\u753b\u8a08\u6e2c\u3092\u5b9f\u88c5\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/www.kwonline.org\/pmd\/\">Video Tracking Test<\/a><\/p>\n<p>\u3061\u306a\u307f\u306b\u4e0a\u8a18\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u306b\u8f09\u305b\u3066\u3044\u308b\u52d5\u753b\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e3DCG\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2Blender\u3067\u4f5c\u6210\u3055\u308c\u305f\u300cBig Buck Bunny\u300d\u3068\u3044\u3046\u30e0\u30fc\u30d3\u30fc\u3067\u3059\u3002<br \/>\n<i><a href=\"http:\/\/en.wikipedia.org\/wiki\/Big_Buck_Bunny\">Big Buck Bunny &#8211; Wikipedia, the free encyclopedia<\/a><\/i><\/p>\n<p>\u5b9f\u88c5\u3057\u305f\u30b3\u30fc\u30c9:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ns.loadModule(&quot;Media&quot;);\ns.Media.trackWhilePlaying = true;\ns.Media.segmentByMilestones = true;\ns.Media.playerName = &quot;My_HTML5_Player&quot;;\ns.Media.trackVars=&quot;events,eVar11,eVar12&quot;;\ns.Media.trackEvents=&quot;event11,event12,event13&quot;;\ns.Media.trackMilestones = &quot;25,50,75&quot;;\ns.Media.trackUsingContextData = true;\ns.Media.contextDataMapping = {\n\t&quot;a.media.name&quot; : &quot;eVar11&quot;,\n\t&quot;a.contentType&quot; : &quot;eVar12&quot;,\n\t&quot;a.media.timePlayed&quot; : &quot;event11&quot;,\n\t&quot;a.media.view&quot; : &quot;event12&quot;,\n\t&quot;a.media.complete&quot; : &quot;event13&quot;\n};\n\nfunction playerHandler(e){\n    if (myvideo.currentTime &gt; 0) {\n        currentTime = myvideo.currentTime;\n    }\n    switch(e.type){\n        case &quot;play&quot;:\n            if(!videoOpened){\n                s.Media.open(myvideo.src, myvideo.duration, s.Media.playerName);\n                s.Media.play(myvideo.src, 0);\n            }else{\n                s.Media.play(myvideo.src, currentTime);\n            }\n            videoOpened = true;\n\t    break;\n        case &quot;pause&quot;:\n            s.Media.stop(myvideo.src, currentTime);\n\t    break;\n        case &quot;ended&quot;:\n            s.Media.stop(myvideo.src, currentTime);\n            s.Media.close(myvideo.src);\n\t    break;\n        default:\n\t    break;\n    }\n}\n\nif (document.getElementById(&quot;myvideo&quot;)) {\n\tvar videoOpened = false;\n\tvar currentTime = 0;\n\tvar myvideo = document.getElementById(&quot;myvideo&quot;);\n\tmyvideo.addEventListener(&quot;loadedmetadata&quot;,playerHandler,false);\n\tmyvideo.addEventListener(&quot;play&quot;,playerHandler,false);\n\tmyvideo.addEventListener(&quot;pause&quot;,playerHandler,false);\n\tmyvideo.addEventListener(&quot;ended&quot;,playerHandler,false);\n}\n<\/pre>\n<p>\u65b0\u3057\u3044\u8a08\u6e2c\u624b\u6cd5\u306eHeartbeat\u578b\u8a08\u6e2c\u306f\u5225\u306e\u6a5f\u4f1a\u306b\u3084\u3063\u3066\u307f\u307e\u3059\u3002\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SiteCatalyst\u306e\u9803\u304b\u3089\u4f7f\u308f\u308c\u3066\u3044\u308b\u52d5\u753b\u8a08\u6e2c\u624b\u6cd5\u3001Milestone\u578b\u8a08\u6e2c\u3092\u4f7f\u3063\u3066\u3001HTML5\u52d5\u753b\u8a08\u6e2c\u3092\u5b9f\u88c5\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002 Video Tracking Test \u3061\u306a\u307f\u306b\u4e0a\u8a18\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,12],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-javascript","category-web"],"_links":{"self":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}