{"id":272,"date":"2008-04-03T21:12:31","date_gmt":"2008-04-04T05:12:31","guid":{"rendered":"http:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/"},"modified":"2008-11-02T14:01:11","modified_gmt":"2008-11-02T22:01:11","slug":"simple-flex-motion-detection-example","status":"publish","type":"post","link":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/","title":{"rendered":"Simple Flex Motion Detection example"},"content":{"rendered":"<p>Here&#8217;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total pixels that were changed, which is a crude way to figure out motion. Basically what you do is draw one frame onto the previous frame using the &#8220;difference&#8221; blend mode. Then you threshold the image and you can figure out the number of pixels that had any change.<\/p>\n<p>See the full example after the jump.<br \/>\n<!--more--><\/p>\n<p>The example below uses the motion detector and ties it to a webcam. You&#8217;ll have to allow the app to access your webcam to see it in action. If the motion in the webcam exceeds a certain amount (20%), then it takes a snapshot and sends it to the CIA (ok, ok, it doesn&#8217;t really do that, it doesn&#8217;t send the snapshot anywhere). <\/p>\n<p><div id=\"swfa2601\">This movie requires Flash Player 9.<\/div>\n<script type=\"text\/javascript\">\n\tswfobject.embedSWF(\"http:\/\/dougmccune.com\/flex\/motion\/MotionDetectionExample.swf\", \"swfa2601\", \"350\", \"450\", \"9.0.0\", \"\", {}, {wmode: \"window\", menu: \"false\", quality: \"high\", bgcolor: \"#FFFFFF\", allowScriptAccess: \"always\"}, {});\n<\/script>\n<\/p>\n<p><a href=\"http:\/\/dougmccune.com\/flex\/motion\/srcview\/index.html\">View source<\/a><\/p>\n<p>Someone emailed me recently asking about this code, since it was shown in a <a href=\"https:\/\/dougmccune.com\/blog\/2007\/07\/23\/tileui-desktop-demo-video\/\">previous video I created<\/a> when I was working on TileUI a while back. This is the first in a series of chunks of code that I&#8217;m thinking about taking from that project and releasing open source. No, I don&#8217;t think I&#8217;ll be releasing all of TileUI, but just some of the components within it (like the radial menu component maybe).<\/p>\n<div style=\"border:1px solid silver; padding:5px\"><strong>UPDATE:<\/strong> As various people have pointed out, there is built in motion detection in the Camera class, so if you want to detect motion in a webcam feed all you have to do is monitor the <strong><code>activityLevel<\/code><\/strong> property of the Camera. I guess I should&#8217;ve known that before posting \ud83d\ude1b oh well. This motion detector example is still useful if you&#8217;re trying to detect motion in anything other than a webcam feed though, such as another video playing in your app, or any other UI component that has visible changes.<\/div>\n<p>P.S. I&#8217;ve been very quiet on the blogging front. This is because I&#8217;ve been super crazy mega busy between my job and writing <a href=\"http:\/\/www.wiley.com\/WileyCDA\/WileyTitle\/productCd-0470277920.html\">Flex for Dummies<\/a>, which is available for <a href=\"http:\/\/www.amazon.com\/Adobe-Flex-Dummies-Computer-Tech\/dp\/0470277920\">pre-order on Amazon<\/a>. I expect to get back to blogging much more sometime after May 13 (after I sleep for a week).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-flex"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Here&#039;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Doug\"\/>\n\t<meta name=\"keywords\" content=\"flex\/flash\/actionscript\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Doug McCune | Sculptor\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Simple Flex Motion Detection example | Doug McCune\" \/>\n\t\t<meta property=\"og:description\" content=\"Here&#039;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-04-04T05:12:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-11-02T22:01:11+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Simple Flex Motion Detection example | Doug McCune\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Here&#039;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#article\",\"name\":\"Simple Flex Motion Detection example | Doug McCune\",\"headline\":\"Simple Flex Motion Detection example\",\"author\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x\",\"width\":96,\"height\":96,\"caption\":\"Doug\"},\"datePublished\":\"2008-04-03T21:12:31-08:00\",\"dateModified\":\"2008-11-02T14:01:11-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":14,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#webpage\"},\"articleSection\":\"Flex\\\/Flash\\\/Actionscript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dougmccune.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"name\":\"Flex\\\/Flash\\\/Actionscript\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"position\":2,\"name\":\"Flex\\\/Flash\\\/Actionscript\",\"item\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#listItem\",\"name\":\"Simple Flex Motion Detection example\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#listItem\",\"position\":3,\"name\":\"Simple Flex Motion Detection example\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/category\\\/flex\\\/#listItem\",\"name\":\"Flex\\\/Flash\\\/Actionscript\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\",\"name\":\"Doug McCune\",\"image\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/tTL5uiW4_400x400.jpeg\",\"sameAs\":[\"https:\\\/\\\/instagram.com\\\/doug_mccune\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/\",\"name\":\"Doug\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x\",\"width\":96,\"height\":96,\"caption\":\"Doug\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#webpage\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/\",\"name\":\"Simple Flex Motion Detection example | Doug McCune\",\"description\":\"Here's a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/2008\\\/04\\\/03\\\/simple-flex-motion-detection-example\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"datePublished\":\"2008-04-03T21:12:31-08:00\",\"dateModified\":\"2008-11-02T14:01:11-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/\",\"name\":\"Doug McCune\",\"description\":\"Sculptor\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dougmccune.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Simple Flex Motion Detection example | Doug McCune","description":"Here's a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total","canonical_url":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/","robots":"max-image-preview:large","keywords":"flex\/flash\/actionscript","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#article","name":"Simple Flex Motion Detection example | Doug McCune","headline":"Simple Flex Motion Detection example","author":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"publisher":{"@id":"https:\/\/dougmccune.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x","width":96,"height":96,"caption":"Doug"},"datePublished":"2008-04-03T21:12:31-08:00","dateModified":"2008-11-02T14:01:11-08:00","inLanguage":"en-US","commentCount":14,"mainEntityOfPage":{"@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#webpage"},"isPartOf":{"@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#webpage"},"articleSection":"Flex\/Flash\/Actionscript"},{"@type":"BreadcrumbList","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dougmccune.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","name":"Flex\/Flash\/Actionscript"}},{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","position":2,"name":"Flex\/Flash\/Actionscript","item":"https:\/\/dougmccune.com\/blog\/category\/flex\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#listItem","name":"Simple Flex Motion Detection example"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#listItem","position":3,"name":"Simple Flex Motion Detection example","previousItem":{"@type":"ListItem","@id":"https:\/\/dougmccune.com\/blog\/category\/flex\/#listItem","name":"Flex\/Flash\/Actionscript"}}]},{"@type":"Person","@id":"https:\/\/dougmccune.com\/blog\/#person","name":"Doug McCune","image":"https:\/\/dougmccune.com\/blog\/wp-content\/uploads\/2022\/01\/tTL5uiW4_400x400.jpeg","sameAs":["https:\/\/instagram.com\/doug_mccune"]},{"@type":"Person","@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author","url":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/","name":"Doug","image":{"@type":"ImageObject","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1559cc79696919726297c735cddc893c8983709f55a8773bdc1d45aea8c79051?s=96&d=blank&r=x","width":96,"height":96,"caption":"Doug"}},{"@type":"WebPage","@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#webpage","url":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/","name":"Simple Flex Motion Detection example | Doug McCune","description":"Here's a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dougmccune.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/#breadcrumblist"},"author":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"creator":{"@id":"https:\/\/dougmccune.com\/blog\/author\/admin-2\/#author"},"datePublished":"2008-04-03T21:12:31-08:00","dateModified":"2008-11-02T14:01:11-08:00"},{"@type":"WebSite","@id":"https:\/\/dougmccune.com\/blog\/#website","url":"https:\/\/dougmccune.com\/blog\/","name":"Doug McCune","description":"Sculptor","inLanguage":"en-US","publisher":{"@id":"https:\/\/dougmccune.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Doug McCune | Sculptor","og:type":"article","og:title":"Simple Flex Motion Detection example | Doug McCune","og:description":"Here's a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total","og:url":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/","article:published_time":"2008-04-04T05:12:31+00:00","article:modified_time":"2008-11-02T22:01:11+00:00","twitter:card":"summary_large_image","twitter:title":"Simple Flex Motion Detection example | Doug McCune","twitter:description":"Here's a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total"},"aioseo_meta_data":{"post_id":"272","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-03 18:04:11","updated":"2025-06-03 20:12:18","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dougmccune.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dougmccune.com\/blog\/category\/flex\/\" title=\"Flex\/Flash\/Actionscript\">Flex\/Flash\/Actionscript<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSimple Flex Motion Detection example\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dougmccune.com\/blog"},{"label":"Flex\/Flash\/Actionscript","link":"https:\/\/dougmccune.com\/blog\/category\/flex\/"},{"label":"Simple Flex Motion Detection example","link":"https:\/\/dougmccune.com\/blog\/2008\/04\/03\/simple-flex-motion-detection-example\/"}],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":1,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}