<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ben Billups on Medium]]></title>
        <description><![CDATA[Stories by Ben Billups on Medium]]></description>
        <link>https://medium.com/@BenBillups?source=rss-a9be752a041d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nGSdSP6ECqZSiABtayAyQQ.jpeg</url>
            <title>Stories by Ben Billups on Medium</title>
            <link>https://medium.com/@BenBillups?source=rss-a9be752a041d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:08:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@BenBillups/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Be Holy]]></title>
            <link>https://medium.com/@BenBillups/how-to-be-holy-1c93c3605db1?source=rss-a9be752a041d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c93c3605db1</guid>
            <category><![CDATA[god]]></category>
            <category><![CDATA[dogs]]></category>
            <category><![CDATA[love]]></category>
            <category><![CDATA[bible]]></category>
            <category><![CDATA[bible-study]]></category>
            <category><![CDATA[christianity]]></category>
            <dc:creator><![CDATA[Ben Billups]]></dc:creator>
            <pubDate>Tue, 19 Dec 2017 17:38:41 GMT</pubDate>
            <atom:updated>2017-12-19T17:38:41.652Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJ3KtoXz-iizxxgpqjKGoA.jpeg" /></figure><p>This morning, I felt numb, complacent, and helpless in worldly patterns. So I asked God to change that.</p><p>He promptly did so by taking me to <a href="https://www.biblegateway.com/passage/?search=2+Peter+1&amp;version=ESV">2 Peter 1</a> — the equivalent of cold water to the face in response to my complacent baby-talk.</p><p>As Christians, we know that we are called to be holy (<a href="https://www.biblegateway.com/passage/?search=1+Peter+1&amp;version=ESV">1 Peter 1:14–16</a>; <a href="https://www.biblegateway.com/passage/?search=Leviticus+20&amp;version=ESV">Leviticus 20:7</a>) but <em>how</em> we do this in our lives is not discussed often enough. 2 Peter 1 is a how-to guide on holiness.</p><p>Unpacking this passage is worthy of volumes, but what I learned just by taking a few minutes to break this down is more than worth it.</p><p>Specifically, I will focus on <a href="https://www.biblegateway.com/passage/?search=2+Peter+1%3A3-15&amp;version=ESV">2 Peter 1:3–15</a>.</p><h3>2 Peter 1:3–4: We have everything we need</h3><blockquote>His divine power has granted to us all things that pertain to life and godliness, through the knowledge of him who called us to his own glory and excellence, by which he has granted to us his precious and very great promises, so that through them you may become partakers of the divine nature, having escaped from the corruption that is in the world because of sinful desire.</blockquote><p>In the beginning of both verses, it’s no coincidence that the word “granted” appears in past-tense. This is in complete agreement with <a href="https://www.biblegateway.com/passage/?search=Romans+8&amp;version=ESV">Romans 8:1</a>, which instructs us to rest in the finished work of Christ as we live through Him (“There is therefore now no condemnation for those who are in Christ Jesus”).</p><p>What has God granted us?</p><ol><li>All things that pertain to life and godliness.</li><li>His precious and very great promises.</li></ol><p>We do not need anything more than what we have already been given to live in God’s will and share in His glory. And, in faith, we believe in every promise He has made to us in His Word.</p><p>What has God called us to?</p><ol><li>His own glory and excellence.</li><li>His divine nature.</li></ol><p>Using what God has granted to us and promised us, we are to live excellently according to His divine nature — specifically, by escaping sin through the power of Christ.</p><h3>2 Peter 1:5–7: Our path to holiness</h3><blockquote>For this very reason, make every effort to supplement your faith with virtue, and virtue with knowledge, and knowledge with self-control, and self-control with steadfastness, and steadfastness with godliness, and godliness with brotherly affection, and brotherly affection with love.</blockquote><p>Before we can follow this map, we need to ensure we use clear markers by defining our terms.</p><ol><li><strong>Supplement:</strong> Something that completes or enhances another. (<a href="https://www.merriam-webster.com/dictionary/supplement">Merriam-Webster</a>)</li><li><strong>Faith:</strong> “Now faith is the assurance of things hoped for, the conviction of things not seen.” (<a href="https://www.biblegateway.com/passage/?search=Hebrews+11&amp;version=ESV">Hebrews 11:1</a>)</li><li><strong>Virtue:</strong> Behavior showing high moral standards. (<a href="https://www.google.com/search?q=Dictionary#dobs=virtue">Google Dictionary</a>, yo)</li><li><strong>Knowledge:</strong> The fact or condition of being aware of something. (<a href="https://www.merriam-webster.com/dictionary/knowledge">Merriam-Webster</a>)</li><li><strong>Self-control:</strong> Restraint exercised over one’s own impulses, emotions, or desires. (<a href="https://www.merriam-webster.com/dictionary/self-control">Merriam-Webster</a>)</li><li><strong>Steadfastness:</strong> Firmly fixed in place. Immovable. Not subject to change. (<a href="https://www.merriam-webster.com/dictionary/steadfast">Merriam-Webster</a>)</li><li><strong>Godliness:</strong> Devotion to God in action. (<a href="https://bible.org/article/what-godliness">Jerry Bridges</a>)</li><li><strong>Brotherly affection:</strong> Liking and caring for someone or something. (<a href="https://www.merriam-webster.com/dictionary/affection">Merriam-Webster</a>)</li><li><strong>Love:</strong> Selfless giving. (<a href="https://www.biblegateway.com/passage/?search=John+15:13&amp;version=ESV">John 15:13</a>)</li></ol><p>Several terms used in this passage are often considered synonymous — virtue and self-control, affection and love — but by differentiating these, Peter draws out the subtleties of living a holy life.</p><p>The progression, then, is something like this:</p><ol><li>We are to complete our belief in Christ and complete our trust in God’s promises by having high moral standards.</li><li>We are to complete our high moral standards with an increasing awareness of God and His will.</li><li>We are to complete our awareness with restraint over our sinful desires.</li><li>We are to complete our restraint by remaining fixed and immovable.</li><li>We are to complete our immovability with devotion to God in action.</li><li>We are to complete our devotion to God by caring for others.</li><li>We are to complete our caring for others with selfless giving.</li></ol><h3>2 Peter 1:8–11: Our holiness is our effectiveness</h3><blockquote>For if these qualities are yours and are increasing, they keep you from being ineffective or unfruitful in the knowledge of our Lord Jesus Christ. For whoever lacks these qualities is so nearsighted that he is blind, having forgotten that he was cleansed from his former sins. Therefore, brothers, be all the more diligent to confirm your calling and election, for if you practice these qualities you will never fall. For in this way there will be richly provided for you an entrance into the eternal kingdom of our Lord and Savior Jesus Christ.</blockquote><p>The eight qualities of holiness — faith, virtue, knowledge, self-control, steadfastness, brotherly affection, and love — are what enable us to be effective and fruitful in our knowledge of Christ.</p><p>But Peter takes it a step further than “be fruitful!” <strong>He says any believer who lacks these qualities is blind, having forgotten the wonder of the Gospel.</strong></p><p>So what are we to do? We are to be diligent to confirm our calling. By practicing these eight qualities <strong>we will never fall</strong>.</p><h3>2 Peter 1:12–15: Our duty is to remember and to remind</h3><blockquote>Therefore I intend always to remind you of these qualities, though you know them and are established in the truth that you have. I think it right, as long as I am in this body, to stir you up by way of reminder, since I know that the putting off of my body will be soon, as our Lord Jesus Christ made clear to me. And I will make every effort so that after my departure you may be able at any time to recall these things.</blockquote><p>Standard communication advice includes avoiding absolutes — words like “always,” “only,” “any,” tend to risk overstating the point. (Please note that I <em>did not</em> say that these words <em>always</em> overstate the point.)</p><p>Peter litters these verses with absolutes.</p><p>First, Peter promises to <em>always remind</em><strong><em> </em></strong>these churches of the qualities of holiness.</p><p>Then he promises to make <em>every effort</em> to teach these qualities. (Also notable is the urgency with which Peter approaches this effort: “I know that the putting off of my body will be soon.”)</p><p>Holiness is never sometimes. We <em>always</em> make <em>every</em> effort to be reminded of these qualities and to spur our brothers and sisters onward in holiness.</p><h3>Love</h3><p>But the greatest of these is love (<a href="http://1 Corinthians 13">1 Corinthians 13:13</a>).</p><p>Love, and the love of God specifically, is the central subject of the Bible. But in Peter’s playbook for holiness, love is at the end of the list. This is not because love is the least important, but <strong>because true love is the final achievement of living an active and disciplined life for God.</strong></p><p>God is love (<a href="https://www.biblegateway.com/passage/?search=1+John+4%3A8&amp;version=ESV">1 John 4:8</a>). How can we know love if we do not know God?</p><p>God is holy (<a href="https://www.biblegateway.com/passage/?search=Leviticus+19&amp;version=ESV">Leviticus 19:2</a>). How can God be in an intimate relationship with anyone that is not holy?</p><p>We are clothed in the holiness provided to us through Christ (<a href="https://www.biblegateway.com/passage/?search=Isaiah+61%3A10&amp;version=ESV">Isaiah 61:10</a>; <a href="https://www.biblegateway.com/passage/?search=Romans+13%3A11-14&amp;version=ESV">Romans 13:11–14</a>). God has graciously granted us His holiness through Christ so that we can live in relationship with Him (<a href="https://www.biblegateway.com/passage/?search=Hebrews+4%3A16&amp;version=ESV">Hebrews 4:16</a>)</p><p>If we understand the love God has shown to us, if we see the wonder of the Gospel, we will make every effort to live a life that embodies the qualities of holiness so that we can show others the love that God has shown to us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c93c3605db1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Are You Here? The Give/Take Relationship Game Theory]]></title>
            <link>https://medium.com/@BenBillups/why-are-you-here-the-give-take-relationship-game-theory-cfa3c0cdc4b3?source=rss-a9be752a041d------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfa3c0cdc4b3</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[game-theory]]></category>
            <category><![CDATA[arrival]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[gratitude]]></category>
            <dc:creator><![CDATA[Ben Billups]]></dc:creator>
            <pubDate>Sun, 12 Mar 2017 04:30:24 GMT</pubDate>
            <atom:updated>2017-03-12T04:39:30.569Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6fE9SZCu7_T_N95NWMVtw.png" /><figcaption>Source: Arrival (dir. Denis Villeneuve)</figcaption></figure><p>Relationships can be alienating.</p><p><em>Arrival </em>is an incredibly interesting movie because, like many sci-fi films, it imagines communication with an alien race. Throughout the film the protagonists are seeking the answer to a simple question: why are they here?</p><p>Communication is the fulcrum of all relationships. Fundamentally, communication is a process of exchange.</p><p>Given that my education is in the study of economics, I happen to know a thing or two about exchanges.</p><p>I promise that if you learn just <em>a little bit</em> about economic exchange, there are a few practical life applications. Trust me?</p><p><em>Note: the following Give/Take Relationship Game Theory is mostly applicable to peer relationships (as with friendships) and not as applicable to dependency relationships (as with children).</em></p><h3>Boring Microeconomic Game Theory</h3><p>In microeconomics, game theory is used to conceptualize models of competition and market pricing. Because all relationships are unique (even if faint) connections between two individuals, we’ll consider them to be effective oligopoly markets. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*IOr6p7FbtguLsL4VKTYU3w.jpeg" /><figcaption>Source: Brigham Young University</figcaption></figure><p>In this scenario, both companies make more by choosing a low output (<em>three cheers for OPEC</em>). The second best outcome is for both companies to choose a high output. In both scenarios where one company is implementing a low output strategy and the other is implementing a high output strategy, there is instability because one company is clearly losing. In both the high/low and low/high scenarios, the losing company will eventually change their strategy to high output, which makes high/high the most likely outcome.</p><p>In other words, the second best option has the highest likelihood because both companies are profit-driven.</p><p><em>Unless there is collusion.</em> Collusion occurs when the companies make a prior commitment choosing low output to optimize both of their profits.</p><p>However, collusion is a fundamentally vulnerable position for both parties because, at any time, the agreement could be violated if one company gyps their partner with a high output strategy for some short-term gain (<em>three more cheers for OPEC</em>).</p><h3>Indelibly Interesting Relationship Game Theory</h3><p>In order to apply this to relationships, we’ll just copy the diagram because my arrogance permits me to believe that game theory explains everything. Everyone is white or yellow. I’m sorry, but that’s the way it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*Ff58B4LkUY3A7dRJrU1FgQ.jpeg" /><figcaption>Source: Me</figcaption></figure><p><em>Please note: The outputs on this diagram are switched because friendships are not usually based on competing for profit in the marketplace.</em></p><p>Just like in the previous case study, the optimal solution is give/give but the most likely solution is take/take. Both take/give and give/take are unstable options (unless it is an inherently dependent relationship).</p><p>Collusion is an option, but because it is not socially accepted to sign agreements with your friends demanding high output, things are more ambiguous.</p><p>Without stretching this analogy too far, there are two useful conclusions we can draw from the comparison:</p><ol><li>Both parties exercising generosity in a relationship is the most vulnerable and the most rewarding outcome</li><li>Relating to someone for selfish reasons will almost always reduce both parties to selfish behavior to secure the second-best outcome</li></ol><p>Mutually selfish relationships are the safest option, but approaching all relationships from the attitude of giving has the most potential for good.</p><p>So now, I only have one question for you — and it’s a question I plan to ask myself on a regular basis from now on…</p><blockquote><strong>Why are you here? Do you show up to take or to give?</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfa3c0cdc4b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Facebook Video Embeds that Actually Work]]></title>
            <link>https://medium.com/@BenBillups/facebook-video-embeds-that-actually-work-57037f8cdcf3?source=rss-a9be752a041d------2</link>
            <guid isPermaLink="false">https://medium.com/p/57037f8cdcf3</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Ben Billups]]></dc:creator>
            <pubDate>Mon, 11 Jan 2016 06:47:52 GMT</pubDate>
            <atom:updated>2016-01-11T17:59:13.313Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fhq7UzJUhVORMI%2Ftwitter%2Fiframe&amp;src_secure=1&amp;url=http%3A%2F%2Fgiphy.com%2Fgifs%2Fdavid-bowie-facebook-bbc-hq7UzJUhVORMI&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fhq7UzJUhVORMI%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="262" frameborder="0" scrolling="no"><a href="https://medium.com/media/31154586d925eeb3908e66cfcd020393/href">https://medium.com/media/31154586d925eeb3908e66cfcd020393/href</a></iframe><h3>Facebook Video Embeds that Actually Work</h3><p>Recently, I was developing a website where the client wanted to use Facebook video embeds to display their docuseries. From early tests, though, I knew something other than <a href="https://developers.facebook.com/docs/plugins/embedded-video-player">Facebook’s recommended methods</a> were necessary.</p><p>The SDK API is a relatively heavy script to begin with, and the embeds were adding painful wait time to page loads. So I decided to load a thumbnail — which would be faster loading — and to only load the embed when the visitor clicks the thumbnail. This is a far better solution for end users as it reduces up-front load time and only makes waiting <em>slightly</em> longer <em>after</em> deciding to watch.</p><p>By simply shifting <em>when</em> the visitor waits can make a world of difference in the user experience. Visitors are far more willing to forgive a buffering video than a slow page load. Trust me.</p><p>So, to start, we’ll load a simple &lt;img&gt; element with a parent &lt;div&gt;.</p><h4>HTML</h4><pre>&lt;div class=&quot;video bbfb-video&quot; id=&quot;VIDEO_ID_HERE&quot; data-link=&quot;VIDEO_URL_HERE&quot;&gt;<br>    &lt;img class=&quot;bbfb-thumb&quot; src=&quot;VIDEO_THUMBNAIL_URL_HERE&quot;/&gt;<br>&lt;/div&gt;</pre><p>Since I’m using WordPress in this case, I have options in the backend for the admin to set the video URL in the post type, and we can pull the ID and thumbnail from there. I’ll cover that more in-depth below.</p><p>The “data-link” attribute in the parent element is just a placeholder where I can easily retrieve the video URL when we’re embedding it later.</p><p>Now all we need is a function which detects when our parent element (“.bbfb-video”) is clicked and then inserts the embedded video. Here’s what I came up with:</p><h4>jQuery</h4><pre>(function() {<br>    if ($(&#39;.bbfb-video&#39;).length == 0) return;</pre><pre>    $(&#39;.bbfb-video&#39;).each(function() {<br>         var fb = this,<br>         id = this.id;</pre><pre>        $(fb).click( function() {<br>            var href = $(this).attr(&#39;data-link&#39;);</pre><pre>            $(this).empty();<br>            $(this).append(&#39;&lt;div class=&quot;fb-video&quot; data-allowfullscreen=&quot;true&quot; data-href=&quot;&#39;+href+&#39;&quot;&gt;&lt;/div&gt;&#39;);<br>        });<br>    });<br>})();</pre><p><em>(On a side note: I realize how silly it may sound to advocate fast load times and then propose to accomplish this by using the huge Javascript library that is jQuery. However, I was already loading jQuery for several other reasons on the site, so this approach made the most logical sense. Plus, this is still way better than whatever the Facebook API was doing.)</em></p><p>Essentially, whenever a visitor clicks on a video thumbnail, this script deletes the current child elements and loads in Facebook’s standard embed HTML.</p><p>However, since Facebook’s API parses its own (relatively anonymous) elements rather than using an &lt;iframe&gt;, by the time our function runs <em>Facebook’s script has already parsed the page</em>. So as it stands, this code loads an empty &lt;div&gt; in the place of our thumbnail. Not good.</p><p>Fortunately, there is a simple API call we can make in our .click() function to solve this issue:</p><pre>FB.XFBML.parse(document.getElementById(id));</pre><p>This snippet tells the API to reparse the page, but also narrows its search down to the parent element (the “id” variable was set in the earlier block).</p><p>Now the only real functionality missing is to autoplay the video to make the experience relatively seamless. We could do this by using Facebook’s parameter “data-autoplay=true” but this mutes the video by default. So instead we’ll make one more API call:</p><pre>FB.Event.subscribe(&#39;xfbml.ready&#39;, function(msg) {<br>    if (msg.type === &#39;video&#39;) {<br>        msg.instance.play();<br>    }<br>});</pre><h3>All together now</h3><pre>(function() {<br>    if ($(&#39;.bbfb-video&#39;).length == 0) return;</pre><pre>    $(&#39;.bbfb-video&#39;).each(function() {<br>         var fb = this,<br>         id = this.id;</pre><pre>        $(fb).click( function() {<br>            var href = $(this).attr(&#39;data-link&#39;);</pre><pre>            $(this).empty();<br>            $(this).append(&#39;&lt;div class=&quot;fb-video&quot; data-allowfullscreen=&quot;true&quot; data-href=&quot;&#39;+href+&#39;&quot;&gt;&lt;/div&gt;&#39;);</pre><pre>            //Re-parse the parent<br>            FB.XFBML.parse(document.getElementById(id));</pre><pre>            //Autoplay<br>            FB.Event.subscribe(&#39;xfbml.ready&#39;, function(msg) {<br>                if (msg.type === &#39;video&#39;) {<br>                    msg.instance.play();<br>                }<br>            });<br>        });<br>    });<br>})();</pre><h3>BONUS #1: Pulling High-Quality Facebook Video Thumbnails (PHP)</h3><p>Unfortunately, unlike video hosting sites like YouTube, Facebook doesn’t have easily accessible high-quality thumbnails. Using a link such as</p><pre>https://graph.facebook.com/VIDEO_ID/picture</pre><p>Pulls an image that is only 128x128. Since I wanted to show larger thumbnails (and easily switch between 480p and 720p images, depending on what was needed), I accessed the images through the data outputted by</p><pre>https://graph.facebook.com/VIDEO_ID</pre><p>And decoded it with PHP on the server side. First, though, I had to lift the video ID from the user-entered link in the WordPress post type. No biggie.</p><h4>PHP</h4><pre>function fb_video_id($url) {<br>    if( preg_match(&#39;/facebook\.com(?:[\/\w]*\/videos?)?\/([0-9]+)[^\s]/&#39;, $url, $id) ) {<br>        return $id[1];<br>    } else {<br>        return null;<br>    }<br>}</pre><p><em>Now</em> we’re ready to find our thumbnails. Fortunately, Facebook makes it pretty clear which is which, so we can easily change the resolution of the image when we call this function later.</p><h4>PHP</h4><pre>fb_thumb($link, $size=null) {<br>    $fb_json = &#39;https://graph.facebook.com/&#39;.fb_video_id($link);<br>    $ch = curl_init($fb_json);<br>    curl_setopt($ch, CURLOPT_HEADER, false);<br>    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br>    $output = curl_exec($ch);<br>    curl_close($ch);</pre><pre>    $output = json_decode($output, $assoc = true);</pre><pre>    switch($size) {<br>        case &#39;small&#39;: //130h<br>            $img = $output[&#39;format&#39;][0][&#39;picture&#39;];<br>            break;<br>        case &#39;medium&#39;: //480h<br>            $img = $output[&#39;format&#39;][1][&#39;picture&#39;];<br>            break;<br>        case &#39;large&#39;: //720h<br>            $img = $output[&#39;format&#39;][3][&#39;picture&#39;];<br>            break;<br>        default:<br>            $img = $output[&#39;format&#39;][3][&#39;picture&#39;];<br>            break;<br>    }</pre><pre>    return $img;<br>}</pre><p>Now when we’re outputting the HTML, we can grab the image source by using a call like this:</p><pre>fb_thumb($link, &#39;large&#39;);</pre><h3>BONUS #2: Keep the Element the Same Height While Embedding (jQuery)</h3><p>One other issue I ran into was that the entire element would collapse while the embed was loading (since we’d just deleted the thumbnail). This not just distracting to visitors, but also may temporarily throw the design out of whack.</p><p>In addition to these woefully aberrant afflictions, I was designing the site <em>responsively — </em>which means I don’t know the absolute height of the element. No problem, Javascript to the rescue!</p><h4>jQuery</h4><pre>function sizeEmbed() {<br>    var imgHeight = $(&#39;.bbfb-thumb&#39;).height(); //Find thumbnail height</pre><pre>    $(&#39;.bbfb-video&#39;).css(&#39;height&#39;, imgHeight); //Set that as the height of the parent div<br>}</pre><pre>sizeEmbed(); //Call it on page load<br>$(window).resize(sizeEmbed); //Call it again if the window is resized</pre><h3>BONUS #3: Fake Play Button (HTML/CSS)</h3><p>Now that you’ve undergone the arduous process of drastically improving user experience, you must make what you have done <em>completely invisible. </em>In fact, you must hide what you have done. You must be ashamed.</p><p>You’ve got a neat little picture. But how are visitors supposed to know it’s a video in disguise? If we overlay a fake play button, they’ll click the so-called “button,” an embed will load, <em>and they’ll think they clicked on an embedded video</em>. It’s so brilliant it’s almost cruel.</p><p>Fortunately, to be ashamed, brilliant, and cruel all at the same time only requires a few lines of HTML and CSS.</p><p>Here’s what we need to add to our HTML:</p><pre>&lt;div class=&quot;play-button&quot;&gt;&lt;/div&gt;</pre><p>That’s it. Just drop it right under your thumbnail image.</p><p>Now we just add some simple CSS.</p><pre>.play-button {<br>    height:72px;<br>    width:72px;<br>    left:50%;<br>    top:50%;<br>    margin-left:-36px;<br>    margin-top:-36px;<br>    position:absolute;<br>    background:url(https://medium.com/&quot;http://i.imgur.com/24tuqBK.png&quot;) no-repeat;<br>}</pre><p>Congratulations, you’ve just foiled Facebook’s plot to destroy your website.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57037f8cdcf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Editing: Can a vintage film be used to create a riveting trailer?]]></title>
            <link>https://medium.com/@BenBillups/editing-can-a-vintage-film-be-used-to-create-a-riveting-trailer-f1252078f1a9?source=rss-a9be752a041d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1252078f1a9</guid>
            <dc:creator><![CDATA[Ben Billups]]></dc:creator>
            <pubDate>Tue, 30 Dec 2014 05:49:51 GMT</pubDate>
            <atom:updated>2015-01-14T06:49:24.856Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>After watching </em>It’s a Wonderful Life<em> this year, I was inspired to create a modern trailer. Not just for laughs, but also as an experiment.</em></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSDcVycz0OHM%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSDcVycz0OHM&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FSDcVycz0OHM%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/13ca110af00769566aef3814ac4a7813/href">https://medium.com/media/13ca110af00769566aef3814ac4a7813/href</a></iframe><p>Few movies can lay claim to holiday folklore like Frank Capra’s <em>It’s a Wonderful Life</em>. This brilliant drama from 1946 has held up over the years and gained a foothold in American holiday traditions (albeit <a href="http://www.slate.com/articles/news_and_politics/explainer/1999/12/why_wonderful_life_comes_but_once_a_year.html">with the help of a hiccup in copyright law</a>).</p><p>But once we pick below the surface, <em>It’s a Wonderful Life </em>spends most of it’s time focusing on a life that seems far from wonderful. Behind the jolly mundane relationships, bell ringing, and hee-haw-ing are some of the most dramatic character arcs that can be depicted on screen.</p><p>And that’s what I noticed while watching <em>It’s a Wonderful Life </em>with my family this year. The subtle discontentment with life in a small town; the overriding desire to leave and do “big” things; the reluctant nobility with which George Bailey takes over the Savings and Loan; the quiet disappointment when his brother returns with a wife and good job prospects; the angry despair when all his work is on the verge of futility because of his uncle’s clumsy mistake and a competitor’s unfair revenge; the deep love for his wife and family that only makes his imminent bankruptcy more dire.</p><p>Afterwards, I was inspired to create a modern trailer. Not just for laughs, but also as an experiment. Can a vintage film be used to create a riveting trailer? Or are the kinds of trailers we see today exclusive to the kinds of films that are made today?</p><p>The original trailers for this film were pretty standard for the day: spend 14 years naming the stars in the film; get an overdone voice over; and then jarringly change the music and tone throughout to show the variety of the film. I think <em>It’s a Wonderful Life </em>deserves better.</p><p>The film succeeds at accurately underplaying its drama. Regrets mixed with resentment are swept under the rug by every-day life, but ultimately they emerge in an overwrought climax. While it’s possible it would have won more awards if Capra had emphasized the tragedies to their full extent (indeed, <em>The Best Years of Our Lives </em><a href="http://wikipedia.org/wiki/It%27s_a_Wonderful_Life#Awards_and_honors">won most of the major awards</a> that year), grounding the film in realism is part of what makes it so moving and timeless.</p><p>Even though the film may underplay itself, the trailer certainly shouldn’t.</p><p>Trailers are fundamentally about the story. While the cutting, music, and sound effects help to dress it up, the part that motivates us is our empathy with the characters and the intense anticipation of what will happen next. Of course, with trailers, you really only have time to focus on <strong>one</strong> story. There isn’t time to get into George’s relationship with his brother or his wife and family. So I decided to stick with what’s <em>really </em>important — George wants to kill himself. From what I have found, key to a good trailer is to show a real problem and then ultimately leave that problem unresolved.</p><p>I was pleasantly surprised to see how well the film fared in editing. Amazing performances from James Stewart and Donna Reed held up better than expected when combined with a good orchestral track. While I will admit to re-purposing a few visuals for thematic purposes, throughout the process I was committed to accurately depicting the intent of the film — because what <em>really </em>happens in this film is beyond drama.</p><p>So can a vintage film be used to create a riveting trailer? Apparently, the answer is yes. A good story is always a good story.</p><p>Hopefully, you&#39;ve been inspired to watch <em>It’s a Wonderful Life </em>this Christmas season. It carries with it a message that is empowering and humbling, inspiring and serious, joyous and deep. A real triumph of filmmaking worthy of fresh attention.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1252078f1a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>