{"id":1287,"date":"2011-03-23T14:31:45","date_gmt":"2011-03-23T21:31:45","guid":{"rendered":"http:\/\/www.nathalielawhead.com\/candybox\/?p=1287"},"modified":"2016-10-28T23:06:37","modified_gmt":"2016-10-29T06:06:37","slug":"vimeo-to-flash-the-crazy-simple-video-microsite","status":"publish","type":"post","link":"http:\/\/www.nathalielawhead.com\/candybox\/vimeo-to-flash-the-crazy-simple-video-microsite","title":{"rendered":"Vimeo To Flash (The Crazy Simple Video Microsite)"},"content":{"rendered":"<p><a href=\"http:\/\/nathalielawhead.com\/sourcefiles\/Vimeo_To_Flash\/\" target=\"_blank\">Click here to download the source files<\/a>.<br \/>\nOther than <a href=\"http:\/\/www.youtube.com\/\" target=\"_blank\">Youtube<\/a> an easy, and significantly higher quality video service is <a href=\"http:\/\/vimeo.com\/alienmelon\" target=\"_blank\">Vimeo<\/a>. It&#8217;s pretty much regarded as the professional version of <a href=\"http:\/\/www.youtube.com\/\" target=\"_blank\">Youtube<\/a> because of the higher quality videos that you can upload and display without suffering horrendous compression. Vimeo Plus even allows you to embed HD videos&#8230;<br \/>\nIn unlimited amounts!<br \/>\nBang!<br \/>\n<a href=\"http:\/\/s3.amazonaws.com\/data.tumblr.com\/tumblr_lgvw75RmhN1qaxdvio1_1280.jpg?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&#038;Expires=1301001406&#038;Signature=Lm4KulHd8QNKvY2jA%2FUgHh%2Bp6aM%3D\" target=\"_blank\">Holy shit.<\/a><br \/>\nThe perk here is that, much like youtube, you can use their handsome <a href=\"http:\/\/vimeo.com\/api\" target=\"_blank\">API&#8217;s<\/a> to get your videos into Flash. It&#8217;s an economical way of incorporating streaming video into your Flash site&#8230; Because installing cool shit <a href=\"http:\/\/osflash.org\/red5\/help\" target=\"_blank\">like Red5<\/a> involves root access&#8230; and that&#8217;s something god forbid you give me!<br \/>\nFuck.<\/p>\n<p>Besides I just finished another project and thought I&#8217;d open source the basics for that&#8230;<br \/>\nSo skip on down to <a href=\"http:\/\/vimeo.com\/api\" target=\"_blank\">Vimeo Developer API<\/a> and stand back in flabbergasted amazement of all those <a href=\"http:\/\/vimeo.com\/api\/docs\/advanced-api\" target=\"_blank\">handsome API&#8217;s<\/a> since that&#8217;s what makes everyone tingly inside.<br \/>\nYou&#8217;ll need <a href=\"http:\/\/vimeo.com\/api\/docs\/oauth\" target=\"_blank\">a key<\/a> so <a href=\"http:\/\/vimeo.com\/api\/applications\/new\" target=\"_blank\">register your application here.<\/a><br \/>\nYou&#8217;ll need the &#8220;Consumer Key&#8221; for this.<br \/>\nYou&#8217;ll be using <a href=\"http:\/\/vimeo.com\/api\/docs\/moogaloop\" target=\"_blank\">Moogaloop<\/a> which is the codename for Vimeo&#8217;s video player. You can access functionality for it both in Javascript or Flash.<br \/>\nThere they have &#8220;Example VimeoPlayer AS3 code&#8221;&#8230; meaning you can copy and paste it!<br \/>\nWow! That was hard. Nearly killed me.<br \/>\n&#8230;I started writing my own when I found that. I like not re-inventing the wheel so we&#8217;ll just use that.<br \/>\nBasic usage is:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%\"><span style=\"color: #888888\">\/\/Player<\/span>\r\n<span style=\"color: #008800; font-weight: bold\">var<\/span> player:<span style=\"color: #333399; font-weight: bold\">VimeoPlayer<\/span><span style=\"color: #333333\">=<\/span><span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">VimeoPlayer<\/span><span style=\"color: #333333\">(<\/span><span style=\"background-color: #fff0f0\">&quot;CONSUMER_KEY&quot;<\/span><span style=\"color: #333333\">,<\/span><span style=\"color: #0000DD; font-weight: bold\">18414045<\/span><span style=\"color: #333333\">,<\/span><span style=\"color: #0000DD; font-weight: bold\">500<\/span><span style=\"color: #333333\">,<\/span><span style=\"color: #0000DD; font-weight: bold\">400<\/span><span style=\"color: #333333\">,<\/span>x_player<span style=\"color: #333333\">,<\/span>y_player<span style=\"color: #333333\">,<\/span><span style=\"color: #0000DD; font-weight: bold\">10<\/span><span style=\"color: #333333\">);<\/span>\r\n<span style=\"color: #008800; font-weight: bold\">this<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">addChild<\/span><span style=\"color: #333333\">(<\/span>player<span style=\"color: #333333\">);<\/span>\r\n<\/pre>\n<\/div>\n<p>I added the <em>x_player, y_player <\/em>for the fluent UI stuff&#8230;<\/p>\n<p>Then we also throw a &#8220;<em>VideoXML.as<\/em>&#8221; into the brew for handling of video description:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%\"><span style=\"color: #008800; font-weight: bold\">package<\/span> <span style=\"color: #0e84b5; font-weight: bold\">com.candybox.simpleshit<\/span>\r\n<span style=\"color: #333333\">{<\/span>\r\n\t<span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">flash.events.Event<\/span><span style=\"color: #333333\">;<\/span>\r\n\t<span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">flash.net.URLLoader<\/span><span style=\"color: #333333\">;<\/span>\r\n\t<span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">flash.net.URLRequest<\/span><span style=\"color: #333333\">;<\/span>\r\n\r\n\t<span style=\"color: #008800; font-weight: bold\">public<\/span> <span style=\"color: #008800; font-weight: bold\">class<\/span> VideoXML\r\n\t<span style=\"color: #333333\">{<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> url_xml_loader:<span style=\"color: #333399; font-weight: bold\">URLLoader<\/span> <span style=\"color: #333333\">=<\/span> <span style=\"color: #008800; font-weight: bold\">new<\/span> URLLoader  <span style=\"color: #333333\">;<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> _xml:<span style=\"color: #333399; font-weight: bold\">XML<\/span> <span style=\"color: #333333\">=<\/span> <span style=\"color: #008800; font-weight: bold\">new<\/span> XML  <span style=\"color: #333333\">;<\/span>\r\n\r\n\t\t<span style=\"color: #888888\">\/\/xmlURL = path to xml, xmlNode = number of XML element, textfield = text field in .fla<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">public<\/span> <span style=\"color: #008800; font-weight: bold\">function <\/span><span style=\"color: #0066BB; font-weight: bold\">VideoXML<\/span><span style=\"color: #333333\">(<\/span>xmlURL<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">String<\/span><span style=\"color: #333333\">,<\/span> xmlNode<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">Number<\/span><span style=\"color: #333333\">,<\/span> textfield<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">Object<\/span><span style=\"color: #333333\">)<\/span>\r\n\t\t<span style=\"color: #333333\">{<\/span>\r\n\r\n\t\t\turl_xml_loader<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">addEventListener<\/span><span style=\"color: #333333\">(<\/span>Event<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">COMPLETE<\/span><span style=\"color: #333333\">,<\/span>xml_parse<span style=\"color: #333333\">);<\/span>\r\n\t\t\turl_xml_loader<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">load<\/span><span style=\"color: #333333\">(<\/span><span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">URLRequest<\/span><span style=\"color: #333333\">(<\/span>xmlURL<span style=\"color: #333333\">));&lt;\/<\/span>code<span style=\"color: #333333\">&gt;<\/span>\r\n\r\n\t\t\t<span style=\"color: #008800; font-weight: bold\">function <\/span><span style=\"color: #0066BB; font-weight: bold\">xml_parse<\/span><span style=\"color: #333333\">(<\/span>event<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">Event<\/span><span style=\"color: #333333\">):<\/span><span style=\"color: #333399; font-weight: bold\">void<\/span>\r\n\t\t\t<span style=\"color: #333333\">{<\/span>\r\n\t\t\t\t_xml <span style=\"color: #333333\">=<\/span> <span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">XML<\/span><span style=\"color: #333333\">(<\/span>event<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">target<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">data<\/span><span style=\"color: #333333\">);<\/span>\r\n\t\t\t\ttextfield<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">text<\/span> <span style=\"color: #333333\">=<\/span> _xml<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">description<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">video<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">text<\/span><span style=\"color: #333333\">()[<\/span>xmlNode<span style=\"color: #333333\">];<\/span>\r\n\t\t\t<span style=\"color: #333333\">}<\/span>\r\n\r\n\t\t<span style=\"color: #333333\">}<\/span>\r\n\r\n\t<span style=\"color: #333333\">}<\/span>\r\n\r\n<span style=\"color: #333333\">}<\/span>\r\n<\/pre>\n<\/div>\n<p>Usage:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%\"><span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">com.candybox.simpleshit.VideoXML<\/span><span style=\"color: #333333\">;<\/span>\r\n<span style=\"color: #008800; font-weight: bold\">var<\/span> xml_description:<span style=\"color: #333399; font-weight: bold\">VideoXML<\/span><span style=\"color: #333333\">=<\/span><span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">VideoXML<\/span><span style=\"color: #333333\">(<\/span><span style=\"background-color: #fff0f0\">&quot;PATH TO XML&quot;<\/span><span style=\"color: #333333\">,<\/span> CHILD_NUMBER<span style=\"color: #333333\">,<\/span> PATH_TO_TEXT_FIELD<span style=\"color: #333333\">);<\/span>\r\n<\/pre>\n<\/div>\n<p>&#8230;Simple!<br \/>\nBut say we&#8217;re feeling particularly saucy&#8230; and sarcastic&#8230;<br \/>\nSay we need something cutting edge.<br \/>\nWe need innovative.<br \/>\nWe need to throw in a term that&#8217;ll send chills down marketing&#8217;s spine.<br \/>\nWe need gloss, bevel, boss!<br \/>\nThrow in some 2.0.<\/p>\n<p>Go to <a href=\"http:\/\/www.stripegenerator.com\/\" target=\"_blank\">STRIPE GENERATOR 2.0<\/a> and make yourself a 2.0 stripe.<br \/>\nNote that if it&#8217;s blue they&#8217;ll love it:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nathalielawhead.com\/noodles\/hollyshitwow.png\" alt=\"Holly shit wow\" \/><\/p>\n<p>Holly shit! Wow.<\/p>\n<p>Now, to tile that like a motherfucker we&#8217;ll just throw in some simple bitmap tiling&#8230; that&#8217;ll allow it to be dynamic on resize:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%\"><span style=\"color: #008800; font-weight: bold\">package<\/span> <span style=\"color: #0e84b5; font-weight: bold\">com.candybox.simpleshit<\/span>\r\n<span style=\"color: #333333\">{<\/span>\r\n\r\n\t<span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">flash.display.Sprite<\/span><span style=\"color: #333333\">;<\/span>\r\n\t<span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">flash.display.BitmapData<\/span><span style=\"color: #333333\">;<\/span>\r\n\r\n\t<span style=\"color: #008800; font-weight: bold\">public<\/span> <span style=\"color: #008800; font-weight: bold\">class<\/span> DrawTile <span style=\"color: #008800; font-weight: bold\">extends<\/span> Sprite\r\n\t<span style=\"color: #333333\">{<\/span>\r\n\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> img:<span style=\"color: #333399; font-weight: bold\">Object<\/span><span style=\"color: #333333\">;<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> bgWidth:<span style=\"color: #333399; font-weight: bold\">Number<\/span><span style=\"color: #333333\">;<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> bgHeight:<span style=\"color: #333399; font-weight: bold\">Number<\/span><span style=\"color: #333333\">;<\/span>\r\n\t\t<span style=\"color: #008800; font-weight: bold\">private<\/span> <span style=\"color: #008800; font-weight: bold\">var<\/span> backGroundSprite:<span style=\"color: #333399; font-weight: bold\">Sprite<\/span>\r\n\r\n\t\t<span style=\"color: #008800; font-weight: bold\">public<\/span> <span style=\"color: #008800; font-weight: bold\">function <\/span><span style=\"color: #0066BB; font-weight: bold\">DrawTile<\/span><span style=\"color: #333333\">(<\/span>img<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">*<\/span><span style=\"color: #333333\">,<\/span> bgWidth<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">Number<\/span><span style=\"color: #333333\">,<\/span> bgHeight<span style=\"color: #333333\">:<\/span><span style=\"color: #333399; font-weight: bold\">Number<\/span><span style=\"color: #333333\">)<\/span>\r\n\t\t<span style=\"color: #333333\">{<\/span>\r\n\t\t\tbackGroundSprite <span style=\"color: #333333\">=<\/span> <span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">Sprite<\/span><span style=\"color: #333333\">();<\/span>\r\n\t\t\tbackGroundSprite<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">graphics<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">clear<\/span><span style=\"color: #333333\">();<\/span>\r\n\t\t\tbackGroundSprite<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">graphics<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">beginBitmapFill<\/span><span style=\"color: #333333\">(<\/span><span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">img<\/span><span style=\"color: #333333\">(<\/span><span style=\"color: #0000DD; font-weight: bold\">0<\/span><span style=\"color: #333333\">,<\/span> <span style=\"color: #0000DD; font-weight: bold\">0<\/span><span style=\"color: #333333\">));<\/span>\r\n\t\t\tbackGroundSprite<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">graphics<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">drawRect<\/span><span style=\"color: #333333\">(<\/span><span style=\"color: #0000DD; font-weight: bold\">0<\/span><span style=\"color: #333333\">,<\/span> <span style=\"color: #0000DD; font-weight: bold\">0<\/span><span style=\"color: #333333\">,<\/span> bgWidth<span style=\"color: #333333\">,<\/span> bgHeight<span style=\"color: #333333\">);<\/span>\r\n\t\t\tbackGroundSprite<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">graphics<\/span><span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">endFill<\/span><span style=\"color: #333333\">();<\/span>\r\n\t\t\taddChild<span style=\"color: #333333\">(<\/span>backGroundSprite<span style=\"color: #333333\">);<\/span>\r\n\t\t<span style=\"color: #333333\">}<\/span>\r\n\t<span style=\"color: #333333\">}<\/span>\r\n\r\n<span style=\"color: #333333\">}<\/span>\r\n<\/pre>\n<\/div>\n<p>Usage:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%\"><span style=\"color: #008800; font-weight: bold\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold\">com.candybox.simpleshit.DrawTile<\/span><span style=\"color: #333333\">;<\/span>\r\n<span style=\"color: #008800; font-weight: bold\">var<\/span> tile:<span style=\"color: #333399; font-weight: bold\">DrawTile<\/span><span style=\"color: #333333\">=<\/span><span style=\"color: #008800; font-weight: bold\">new<\/span> <span style=\"color: #333399; font-weight: bold\">DrawTile<\/span><span style=\"color: #333333\">(<\/span>LINKAGE_NAME<span style=\"color: #333333\">,<\/span>stage<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">stageWidth<\/span><span style=\"color: #333333\">,<\/span>stage<span style=\"color: #333333\">.<\/span><span style=\"color: #0000CC\">stageHeight<\/span><span style=\"color: #333333\">);<\/span>\r\naddChild<span style=\"color: #333333\">(<\/span>tile<span style=\"color: #333333\">);<\/span>\r\n<\/pre>\n<\/div>\n<p>Note that linkage name could even be random. For example, store all your bitmap linkage name&#8217;s into an array and randomly pull out one element from that to send to <code>LINKAGE_NAME<\/code>&#8230; You get the idea.<br \/>\n<a href=\"http:\/\/tetrageddon.com\/\" target=\"_blank\">Random tiles are fun!<\/a><\/p>\n<p>That would be pretty much it.<br \/>\nThrow in a <em>stage.addEventListener(Event.RESIZE, resizeHandler);<\/em> and make sure that your <em>stage.align=StageAlign<\/em> and <em>stage.scaleMode<\/em> are set accordingly. <\/p>\n<p>Done!<\/p>\n<p><a href=\"http:\/\/nathalielawhead.com\/sourcefiles\/Vimeo_To_Flash\/FlashTOvim.html\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/nathalielawhead.com\/sourcefiles\/Vimeo_To_Flash\/flashTOvim.jpg\" alt=\"Vimeo To Flash Microsite\" \/><\/a><br \/>\n<a href=\"http:\/\/nathalielawhead.com\/sourcefiles\/Vimeo_To_Flash\/FlashTOvim.html\" target=\"_blank\">Click to view. <\/a><\/p>\n<p><a href=\"http:\/\/nathalielawhead.com\/sourcefiles\/Vimeo_To_Flash\/FlashTOvim.zip\" target=\"_blank\">Source files here!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Click here to download the source files. Other than Youtube an easy, and significantly higher quality video service is Vimeo. It&#8217;s pretty much regarded as the professional version of Youtube because of the higher quality videos that you can upload and display without suffering horrendous compression. Vimeo Plus even allows you to embed HD videos&#8230; In unlimited amounts! Bang! Holy shit. The perk here is that, much like youtube, you can use their handsome API&#8217;s to get your videos into Flash. It&#8217;s an economical way of incorporating streaming video into your Flash site&#8230; Because installing cool shit like Red5 involves&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":4522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[12],"tags":[],"class_list":["post-1287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-resources"],"_links":{"self":[{"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/posts\/1287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/comments?post=1287"}],"version-history":[{"count":14,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/posts\/1287\/revisions"}],"predecessor-version":[{"id":3614,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/posts\/1287\/revisions\/3614"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/media\/4522"}],"wp:attachment":[{"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/media?parent=1287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/categories?post=1287"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nathalielawhead.com\/candybox\/wp-json\/wp\/v2\/tags?post=1287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}