<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adam Podolnick, Author at SproutVideo</title>
	<atom:link href="https://sproutvideo.com/blog/author/sproutvideo/feed" rel="self" type="application/rss+xml" />
	<link>https://sproutvideo.com/blog</link>
	<description>Video hosting for business</description>
	<lastBuildDate>Thu, 02 Mar 2023 18:43:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://sproutvideo.com/blog/wp-content/uploads/2020/02/cropped-favicon-32x32.png</url>
	<title>Adam Podolnick, Author at SproutVideo</title>
	<link>https://sproutvideo.com/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SproutVideo now available through Embed.ly</title>
		<link>https://sproutvideo.com/blog/embedly-support.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Mon, 12 Aug 2013 04:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=209</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">&#60; 1</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> SproutVideo has always tried to make video hosting as simple and intuitive as possible for our customers. In that spirit, we’re pleased to announce that SproutVideo videos are now available through Embed.ly. Embed.ly is a service that makes it easy to embed content, such as video, images, audio and more, from nearly any site on the web. Embed.ly is used...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/embedly-support.html">SproutVideo now available through Embed.ly</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin: 0 10px; float: right;">
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/20130812-2.png" alt="Embed.ly" /></p>
</div>
<p>SproutVideo has always tried to make video hosting as simple and intuitive as possible for our customers. In that spirit, we’re pleased to announce that SproutVideo videos are now available through <a href="https://embed.ly" target="_blank" rel="noopener noreferrer">Embed.ly</a>.</p>
<p>Embed.ly is a service that makes it easy to embed content, such as video, images, audio and more, from nearly any site on the web. Embed.ly is used by companies like Yammer, bit.ly, 37Signals, Storify, Reddit, Kickstarter, SoundCloud, and others to make it incredibly simple for users to embed content by just using a link without a need for a messy or complex embed code. Check out the <a href="https://embed.ly" target="_blank" rel="noopener noreferrer">Embed.ly</a> to learn more about the service.</p>
<p>Thanks for including us, Embed.ly!</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/embedly-support.html">SproutVideo now available through Embed.ly</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Quick and Dirty Custom Video Player Using jQuery UI</title>
		<link>https://sproutvideo.com/blog/quick-and-dirty-custom-player-using-jquery-ui.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Thu, 25 Apr 2013 04:00:00 +0000</pubDate>
				<category><![CDATA[How-Tos]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=236</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">5</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Ever wish our player had really customized controls, or a specialized design? Using our Javascript Player API, it’s very easy to create your own unique user interface for your videos. Here is a quick example using JQuery UI to help demonstrate the possibilities. Before we get started, here is what we’re going to build. Step 1: Set up the embed...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/quick-and-dirty-custom-player-using-jquery-ui.html">Quick and Dirty Custom Video Player Using jQuery UI</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ever wish our player had really customized controls, or a specialized design? Using our <a href="https://sproutvideo.com/help/api/javascript_player_api">Javascript Player API</a>, it’s very easy to create your own unique user interface for your videos.</p>
<p>Here is a quick example using JQuery UI to help demonstrate the possibilities. Before we get started, <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/final/index.html">here is what we’re going to build</a>.</p>
<p><span id="more-236"></span></p>
<h3 id="step-1-set-up-the-embed-code">Step 1: Set up the embed code</h3>
<p>The first thing you’ll need to do is set up your embed code so that it hides all of the SproutVideo UI around the player. To do that, open the video in question, navigate to Customizations, and use the &#8220;In-Line&#8221; option. Under &#8220;Pre-Play Settings,&#8221; check the box &#8220;Show Controls,&#8221; and under &#8220;Visible Player Controls,&#8221; check &#8220;Hide All Controls.&#8221;</p>
<p><img loading="lazy" class="alignnone size-medium wp-image-8714" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/04/2022-10-24_17-23-12-700x684.jpg" alt="" width="700" height="684" srcset="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/04/2022-10-24_17-23-12-700x684.jpg 700w, https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/04/2022-10-24_17-23-12-768x750.jpg 768w, https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/04/2022-10-24_17-23-12.jpg 1003w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Grab your new embed code by clicking in the &#8220;Customized Embed Code&#8221; box, or using the &#8220;Copy Embed Code&#8221; button underneath it.</p>
<h3 id="step-2-setup-our-dependencies">Step 2: Setup our dependencies.</h3>
<p>To easily interact with the SproutVideo API and create our UI, we’ll use JQuery and JQuery UI. This will make building things like our progress bar far easier.</p>
<p>Add the two libraries to the head of your HTML document, along with the default JQuery UI theme stylesheet. We’re also going to add the excellent Font Awesome web font. This web font has tons of great icons and will make adding things like play, pause, fullscreen and volume buttons a breeze without having to create any images.</p>
<p>Lastly, we need to add the SproutVideo Javascript API. Here is what our <code>&lt;head&gt;</code> section looks like now:</p>
<div class="highlight">
<pre><code class="html"><span class="nt">&lt;head&gt;</span>
  <span class="nt">&lt;script </span><span class="na">type=</span><span class="s">"text/javascript"</span> <span class="na">src=</span><span class="s">"https://code.jquery.com/jquery-1.9.1.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
  <span class="nt">&lt;script </span><span class="na">type=</span><span class="s">"text/javascript"</span> <span class="na">src=</span><span class="s">"https://code.jquery.com/ui/1.10.2/jquery-ui.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
  <span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css"</span><span class="nt">&gt;</span>
  <span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"</span><span class="nt">&gt;</span>
  <span class="nt">&lt;script </span><span class="na">type=</span><span class="s">"text/javascript"</span> <span class="na">src=</span><span class="s">"https://c.sproutvideo.com/player_api.js"</span><span class="nt">&gt;&lt;/script&gt;</span>
<span class="nt">&lt;/head&gt;</span>
</code></pre>
</div>
<h3 id="step-3-set-up-ui-containers">Step 3: Set up UI containers</h3>
<p>We’re going to create a very basic player in this example and include the following controls:</p>
<ul>
<li>A play / pause button</li>
<li>A progress bar that allows the viewer to seek within the video</li>
<li>A volume on / off button</li>
<li>A full screen button</li>
</ul>
<p>Let’s set up our HTML:</p>
<div class="highlight">
<pre><code class="html"><span class="nt">&lt;body&gt;</span>
	<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"player"</span><span class="nt">&gt;</span>
		<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"video"</span><span class="nt">&gt;</span>
			<span class="nt">&lt;iframe</span> <span class="na">class=</span><span class="s">'sproutvideo-player'</span> <span class="na">type=</span><span class="s">'text/html'</span> <span class="na">src=</span><span class="s">'https://videos.sproutvideo.com/embed/709adcb31f19e5c6f8/cd8cf2e796aa69d3?noBigPlay=true&amp;showcontrols=false'</span> <span class="na">width=</span><span class="s">'100%'</span> <span class="na">height=</span><span class="s">'100%'</span> <span class="na">frameborder=</span><span class="s">'0'</span><span class="nt">&gt;&lt;/iframe&gt;</span>
		<span class="nt">&lt;/div&gt;</span>
		<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toolbar"</span><span class="nt">&gt;</span>
			<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"control play-pause"</span><span class="nt">&gt;&lt;a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;&lt;i</span> <span class="na">class=</span><span class="s">"icon-play"</span><span class="nt">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;</span>
			<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"progress-container"</span><span class="nt">&gt;</span>
				<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"progress"</span><span class="nt">&gt;&lt;/div&gt;</span>
			<span class="nt">&lt;/div&gt;</span>
			<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"control fullscreen"</span><span class="nt">&gt;&lt;a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;&lt;i</span> <span class="na">class=</span><span class="s">"icon-fullscreen"</span><span class="nt">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;</span>
			<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"control volume"</span><span class="nt">&gt;&lt;a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;&lt;i</span> <span class="na">class=</span><span class="s">"icon-volume-up"</span><span class="nt">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;</span>
		<span class="nt">&lt;/div&gt;</span>
	<span class="nt">&lt;/div&gt;</span> 
<span class="nt">&lt;/body&gt;</span>
</code></pre>
</div>
<p>OK, so now we’ve set up all of our necessary UI elements for our player and gave them reasonable class names so we can easily access them in javascript and style them. <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/example_1/index.html">Here is what it looks like now</a>.</p>
<p>Next, lets set up our progress bar:</p>
<div class="highlight">
<pre><code class="javascript"><span class="nx">$</span><span class="p">(</span><span class="s1">'.progress'</span><span class="p">).</span><span class="nx">slider</span><span class="p">({</span>
	<span class="nx">value</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>
	<span class="nx">orientation</span><span class="o">:</span> <span class="s2">"horizontal"</span><span class="p">,</span>
	<span class="nx">range</span><span class="o">:</span> <span class="s2">"min"</span><span class="p">,</span>
	<span class="nx">animate</span><span class="o">:</span> <span class="kc">true</span>
<span class="p">});</span>
</code></pre>
</div>
<p>Great. <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/example_2/index.html">Now we have a progress bar</a> but everything looks like a mess. Let’s make things a little more attractive.</p>
<div class="highlight">
<pre><code class="css"><span class="nc">.player</span> <span class="p">{</span>
	<span class="k">width</span><span class="o">:</span> <span class="m">640px</span><span class="p">;</span>
	<span class="k">height</span><span class="o">:</span> <span class="m">403px</span><span class="p">;</span>
	<span class="k">position</span><span class="o">:</span> <span class="k">relative</span><span class="p">;</span>
	<span class="k">margin</span><span class="o">:</span> <span class="m">50px</span> <span class="k">auto</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.video</span> <span class="p">{</span>
	<span class="k">position</span><span class="o">:</span> <span class="k">absolute</span><span class="p">;</span>
	<span class="k">left</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">right</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">top</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">bottom</span><span class="o">:</span> <span class="m">43px</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.control</span> <span class="p">{</span>
	<span class="k">float</span><span class="o">:</span> <span class="k">left</span><span class="p">;</span>
	<span class="k">padding</span><span class="o">:</span> <span class="m">0</span> <span class="m">10px</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.toolbar</span> <span class="p">{</span>
	<span class="k">position</span><span class="o">:</span> <span class="k">absolute</span><span class="p">;</span>
	<span class="k">left</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">right</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">bottom</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="k">padding</span><span class="o">:</span> <span class="m">13px</span> <span class="m">0</span> <span class="m">13px</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.control</span> <span class="nt">a</span> <span class="p">{</span>
	<span class="k">text-decoration</span><span class="o">:</span> <span class="k">none</span><span class="p">;</span>
	<span class="k">color</span><span class="o">:</span> <span class="m">#000000</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.progress-container</span> <span class="p">{</span>
	<span class="k">position</span><span class="o">:</span> <span class="k">absolute</span><span class="p">;</span>
	<span class="k">left</span><span class="o">:</span> <span class="m">43px</span><span class="p">;</span>
	<span class="k">right</span><span class="o">:</span> <span class="m">79px</span><span class="p">;</span>
	<span class="k">width</span><span class="o">:</span> <span class="k">auto</span><span class="p">;</span>
<span class="p">}</span>

<span class="nc">.volume</span><span class="o">,</span> <span class="nc">.fullscreen</span> <span class="p">{</span>
	<span class="k">float</span><span class="o">:</span> <span class="k">right</span><span class="p">;</span>
<span class="p">}</span>
</code></pre>
</div>
<p>Now this is starting to <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/example_3/index.html">look like an actual video player</a>. Now we just have to start hooking up the UI to the actual player.</p>
<h3 id="step-5-hooking-up-the-ui-to-the-javascript-api">Step 4: Hooking up the UI to the Javascript API</h3>
<p>The next thing we need to do is create an instance of the SproutVideo player in our javascript and set it up to listen for the appropriate events and set up some state variable:</p>
<div class="highlight">
<pre><code class="javascript"><span class="kd">var</span> <span class="nx">_duration</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">_playing</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span> <span class="nx">_volume</span> <span class="o">=</span> <span class="mi">1</span><span class="p">,</span> <span class="nx">_fullscreen</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>

<span class="kd">var</span> <span class="nx">videoPlayer</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">SV</span><span class="p">.</span><span class="nx">Player</span><span class="p">({</span><span class="nx">videoId</span><span class="o">:</span> <span class="s1">'709adcb31f19e5c6f8'</span><span class="p">});</span>

<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="s1">'ready'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">){</span>
	<span class="nx">_duration</span> <span class="o">=</span> <span class="nx">event</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">duration</span><span class="p">;</span>
	<span class="nx">$</span><span class="p">(</span><span class="s2">".progress"</span><span class="p">).</span><span class="nx">slider</span><span class="p">(</span><span class="s2">"option"</span><span class="p">,</span> <span class="s2">"max"</span><span class="p">,</span> <span class="nx">_duration</span><span class="p">);</span>
<span class="p">});</span>

<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="s1">'progress'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">){</span>
	<span class="nx">$</span><span class="p">(</span><span class="s1">'.progress'</span><span class="p">).</span><span class="nx">slider</span><span class="p">(</span><span class="s2">"option"</span><span class="p">,</span> <span class="s2">"value"</span><span class="p">,</span> <span class="p">(</span><span class="nx">event</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">time</span><span class="p">));</span>
<span class="p">});</span>

<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="s1">'pause'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">){</span>
	<span class="nx">_playing</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
	<span class="nx">$</span><span class="p">(</span><span class="s1">'.play-pause i'</span><span class="p">).</span><span class="nx">removeClass</span><span class="p">(</span><span class="s1">'icon-pause'</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="s1">'icon-play'</span><span class="p">);</span>
<span class="p">});</span>

<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="s1">'play'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">){</span>
	<span class="nx">_playing</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
	<span class="nx">$</span><span class="p">(</span><span class="s1">'.play-pause i'</span><span class="p">).</span><span class="nx">removeClass</span><span class="p">(</span><span class="s1">'icon-play'</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="s1">'icon-pause'</span><span class="p">);</span>
<span class="p">});</span>

<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="s1">'volume'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">){</span>
	<span class="nx">_volume</span> <span class="o">=</span> <span class="nx">event</span><span class="p">.</span><span class="nx">data</span><span class="p">;</span>
	<span class="k">if</span> <span class="p">(</span><span class="nx">_volume</span> <span class="o">==</span> <span class="mi">1</span><span class="p">)</span> <span class="p">{</span>
		<span class="nx">$</span><span class="p">(</span><span class="s1">'.volume i'</span><span class="p">).</span><span class="nx">removeClass</span><span class="p">(</span><span class="s1">'icon-volume-off'</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="s1">'icon-volume-up'</span><span class="p">);</span>
	<span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">_volume</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
		<span class="nx">$</span><span class="p">(</span><span class="s1">'.volume i'</span><span class="p">).</span><span class="nx">removeClass</span><span class="p">(</span><span class="s1">'icon-volume-up'</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="s1">'icon-volume-off'</span><span class="p">);</span>
	<span class="p">}</span>
<span class="p">});</span>
</code></pre>
</div>
<p>Now our UI will properly <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/example_4/index.html">respond to the events from the Javascript player API</a>. Try clicking on the poster frame in the example and you’ll see that the progress bar updates!</p>
<p>You’ll notice that we set the “max” value of our slider to the duration of the video that we get from the “ready” event. This helps us get nice, smooth, updates on our progress bar once every second, and it’ll make seeking that much easier as well.</p>
<p>Next, we set the “value” option for our slider to the current second value from the “progress” event from the API. This updates our progress bar position. We also toggle the class of our play / pause and volume on / off buttons based on the events from the API. Now it’s time to make our buttons and progress bar interact with the player:</p>
<div class="highlight">
<pre><code class="javascript"><span class="nx">$</span><span class="p">(</span><span class="s1">'.play-pause a'</span><span class="p">).</span><span class="nx">click</span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span>
	<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">_playing</span><span class="p">)</span> <span class="p">{</span>
		<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">play</span><span class="p">();</span>
	<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
		<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">pause</span><span class="p">();</span>
	<span class="p">}</span>
<span class="p">});</span>

<span class="nx">$</span><span class="p">(</span><span class="s1">'.volume a'</span><span class="p">).</span><span class="nx">click</span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span>
	<span class="k">if</span> <span class="p">(</span><span class="nx">_volume</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
		<span class="nx">_volume</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>
	<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
		<span class="nx">_volume</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
	<span class="p">}</span>
	<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">setVolume</span><span class="p">(</span><span class="nx">_volume</span><span class="p">);</span>

<span class="p">});</span>

<span class="nx">$</span><span class="p">(</span><span class="s1">'.fullscreen a'</span><span class="p">).</span><span class="nx">click</span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span>
	<span class="kd">var</span> <span class="nx">elem</span> <span class="o">=</span> <span class="nx">$</span><span class="p">(</span><span class="s1">'.player'</span><span class="p">)[</span><span class="mi">0</span><span class="p">];</span>
	<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">_fullscreen</span><span class="p">)</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="nx">elem</span><span class="p">.</span><span class="nx">requestFullscreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nx">elem</span><span class="p">.</span><span class="nx">requestFullscreen</span><span class="p">();</span>
		<span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">elem</span><span class="p">.</span><span class="nx">mozRequestFullScreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nx">elem</span><span class="p">.</span><span class="nx">mozRequestFullScreen</span><span class="p">();</span>
		<span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">elem</span><span class="p">.</span><span class="nx">webkitRequestFullscreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nx">elem</span><span class="p">.</span><span class="nx">webkitRequestFullscreen</span><span class="p">();</span>
		<span class="p">}</span>
		<span class="nx">_fullscreen</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
	<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">exitFullscreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nb">document</span><span class="p">.</span><span class="nx">exitFullscreen</span><span class="p">();</span>
		<span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">mozCancelFullScreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nb">document</span><span class="p">.</span><span class="nx">mozCancelFullScreen</span><span class="p">();</span>
		<span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">webkitCancelFullScreen</span><span class="p">)</span> <span class="p">{</span>
			<span class="nb">document</span><span class="p">.</span><span class="nx">webkitCancelFullScreen</span><span class="p">();</span>
		<span class="p">}</span>
		<span class="nx">_fullscreen</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
	<span class="p">}</span>
<span class="p">});</span>
</code></pre>
</div>
<p>As you can see above, we’ve bound the click event on play/pause button to tell our player object to play or pause the video based on the currently playback state stored in our <code>_playing</code> variable. Next up, we toggle the volume on and off based on the <code>_volume</code> state variable. Finally we handle entering and exiting fullscreen mode. Since there isn’t a universal method for doing this yet, we use feature detection to use the browser specific methods and keep track of the state in our <code>_fullscreen</code> state variable.</p>
<p>Lastly, we just need to allow dragging our progress bar to seek within the video:</p>
<div class="highlight">
<pre><code class="javascript"><span class="nx">$</span><span class="p">(</span><span class="s1">'.progress'</span><span class="p">).</span><span class="nx">slider</span><span class="p">({</span>
	<span class="nx">value</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>
	<span class="nx">orientation</span><span class="o">:</span> <span class="s2">"horizontal"</span><span class="p">,</span>
	<span class="nx">range</span><span class="o">:</span> <span class="s2">"min"</span><span class="p">,</span>
	<span class="nx">animate</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
	<span class="nx">slide</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">event</span><span class="p">,</span> <span class="nx">ui</span><span class="p">)</span> <span class="p">{</span>
		<span class="nx">videoPlayer</span><span class="p">.</span><span class="nx">seek</span><span class="p">(</span><span class="nx">ui</span><span class="p">.</span><span class="nx">value</span><span class="p">);</span>
	<span class="p">}</span>
<span class="p">});</span>
</code></pre>
</div>
<p>To do that, we’ve just added a new <code>slide</code> parameter when initializing our slider. This function is called every time the user changes the value of the slider either by dragging or clicking on it. Since we set the maximum value of the slider to be the total duration of our video, each step of the slider represents one second. The ui.value parameter represents the newly selected value of the slider and that will be equivalent to the second in the video to which we’d like to seek. Therefore we can directly pass that video to the <code>seek</code> function of our player object to seek to that second in the video.</p>
<p>With that final step, we’re all <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/example_5/index.html">done building our quick and dirty custom video player</a>. After adding a few minor css touches, <a href="https://sproutvideo-examples.s3.amazonaws.com/custom_player/final/index.html">here is the final result</a>.</p>
<hr />
<p>While this is just a quick example, it should give you an idea of what’s possible. So, get out there and start building your own custom players! If you’ve built one you’re proud of, or if you have any questions about using the API, let us know in the comments below!</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/quick-and-dirty-custom-player-using-jquery-ui.html">Quick and Dirty Custom Video Player Using jQuery UI</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Easy Lead Capture: Introducing Email Gating</title>
		<link>https://sproutvideo.com/blog/easy-lead-capture-introducing-email-gating.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Mon, 11 Feb 2013 05:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=258</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">2</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Premium video content is a powerful and effective way to capture new leads for your business. We’re pleased to announce that we’ve added a new feature that makes it incredibly easy to collect email addresses with videos, no programming required. Keeping reading for details on how to use this new feature, and tips to optimize it as well. Using Lead Capture...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/easy-lead-capture-introducing-email-gating.html">Easy Lead Capture: Introducing Email Gating</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Premium video content is a powerful and effective way to capture new leads for your business. We’re pleased to announce that we’ve added a new feature that makes it incredibly easy to collect email addresses with videos, no programming required.</p>
<p>Keeping reading for details on how to use this new feature, and tips to optimize it as well.<br />
<span id="more-258"></span></p>
<h3>Using Lead Capture for Videos</h3>
<p>With <a href="https://sproutvideo.com/help/articles/55-require_viewers_to_submit_their_contact_information_to_watch_a_video" target="_blank" rel="noopener noreferrer">lead capture enabled for your videos</a>, you can now require your viewers to enter their email address before they’re able to watch your video. This is a simple and straightforward way to grow your list with targeted prospects.</p>
<p>The message displayed on the email collection screen can be customized with just a few clicks:</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-409" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/02/2016-10-12_12-35-52-1.png" alt="Customize the Lead Capture Form" width="980" height="459" srcset="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/02/2016-10-12_12-35-52-1.png 980w, https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/02/2016-10-12_12-35-52-1-800x375.png 800w, https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/02/2016-10-12_12-35-52-1-768x360.png 768w" sizes="(max-width: 980px) 100vw, 980px" /></p>
<p>The color used for the &#8220;Play&#8221; button is derived from your chosen player colors. Read this help article for more about <a href="https://sproutvideo.com/help/articles/40-how_to_customize_the_embed_code_for_your_video" target="_blank" rel="noopener noreferrer">creating customized video embed codes</a>.</p>
<h3>Leveraging Lead Capture</h3>
<p>Any email addresses captured with your videos will be used to automatically tag leads in your <a href="https://sproutvideo.com/help/articles/32-video_engagement_metrics" target="_blank" rel="noopener noreferrer">video engagement metrics</a>.  You can easily see which of your leads are the most engaged, and get a sense of which ones will be most valuable.</p>
<p>You’ll also notice a “Download CSV” button at the top right of each video engagement metrics page. You can now <a href="https://sproutvideo.com/help/playing_videos/i_set_up_email_capture_where_can_i_find_the_email_addresses" target="_blank" rel="noopener noreferrer">export all email addresses captured by a given video</a>. Exporting allows you to use this list of emails with any email or marketing platform of your choice, or for any other use you can imagine. The export will also include all of the engagement session details for each email address captured.</p>
<p>Emails can also be passed directly to a <a href="https://sproutvideo.com/help/articles/101-enable_an_email_marketing_or_marketing_automation_platform_integration" target="_blank" rel="noopener noreferrer">marketing platform</a> integrated with SproutVideo. From there, you can launch an email marketing campaign based on the video they watched:</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-410" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2013/02/2016-10-12_13-02-58.png" alt="Send Leads Captured with Video to a Marketing Platform" width="539" height="553" /></p>
<h3>Viewer Tagging Options</h3>
<p>In addition, we’ve added more ways automatically tag your viewers. If you already have their email address, you can alter the link to the page on which you’ve embedded your video. Or, add a custom parameter to the video embed code. Check out our <a href="https://sproutvideo.com/help/articles/108-how_to_track_viewers_with_their_contact_information" target="_blank" rel="noopener noreferrer">help article about tagging viewers</a> for more information on how to setup viewer tagging.</p>
<hr />
<p>Ready to start testing lead capture with video? Open a free 14 day trial today and get started. If you have questions, our <a href="https://sproutvideo.com/contact" target="_blank" rel="noopener noreferrer">friendly support team</a> is ready and waiting to help.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/easy-lead-capture-introducing-email-gating.html">Easy Lead Capture: Introducing Email Gating</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How To Make Your Videos Responsive</title>
		<link>https://sproutvideo.com/blog/how-to-make-your-videos-responsive.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 05:00:00 +0000</pubDate>
				<category><![CDATA[How-Tos]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=259</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">2</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Update: SproutVideo supports responsive video embed codes out-of-the-box. Now, you can ensure your videos will resize automatically without touching a line of code on the page. If you’re in the process of building a responsive website or looking to add video to an already responsive website, here is a quick guide on how to make sure your videos resize as...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/how-to-make-your-videos-responsive.html">How To Make Your Videos Responsive</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>Update: SproutVideo supports <a href="https://sproutvideo.com/help/articles/40-how_to_customize_the_embed_code_for_your_video" target="_blank" rel="noopener noreferrer">responsive video embed codes</a> out-of-the-box. Now, you can ensure your videos will resize automatically without touching a line of code on the page.</em></p>
<p>If you’re in the process of building a responsive website or looking to add video to an already responsive website, here is a quick guide on how to make sure your videos resize as seamlessly as the rest of your site.</p>
<p><span id="more-259"></span></p>
<h3 id="the-problem">The Problem</h3>
<p>Why do images resize fluidly and maintain their aspect ratio in responsive layouts, while videos using iframe or object embed codes do not? Since images have a defined width and height, browsers are able to calculate, and maintain, their aspect ratio when resizing them.</p>
<p>Iframe and object elements, on the other hand, have no native width and height that a browser can use to calculate an aspect ratio. This can lead to some frustrating behavior when embedding a video in a responsive layout.</p>
<h3 id="the-solution---intrinsic-aspect-ratios">The Solution: Intrinsic Aspect Ratios</h3>
<p>The solution to this problem is to tell the browser what the proper aspect ratio should be for the video in the iframe or object element. This way, the browser will be able to maintain that aspect ratio when resizing the video in a responsive layout.</p>
<h4 id="how-it-works">How it works</h4>
<p>To set up this “<a href="https://alistapart.com/article/creating-intrinsic-ratios-for-video">intrinsic ratio</a>” you simply need to create a box with the proper aspect ratio, place the embedded video in that box, and have it stretch to fit that box.</p>
<p>The <code>padding-bottom</code> css property is what allows us to define the aspect ratio for the box in which the video will be placed. By setting the <code>padding-bottom</code> property to a percentage of the <strong>width</strong> of the containing element, we are able to create an intrinsic aspect ratio for that box.</p>
<p>Once the aspect ratio is set up, we just need to set our video embed code to take up the full width and height of the box we just created.</p>
<h4 id="an-example">An example</h4>
<div class="highlight">
<pre><code class="html"><span class="nt">&lt;style&gt;</span>
	<span class="nc">.videoWrapper</span> <span class="p">{</span>
	    <span class="k">position</span><span class="o">:</span> <span class="k">relative</span><span class="p">;</span>
	    <span class="k">padding-bottom</span><span class="o">:</span> <span class="m">56</span><span class="o">.</span><span class="m">25</span><span class="o">%</span><span class="p">;</span>
	    <span class="k">height</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="p">}</span>

	<span class="nc">.videoWrapper</span> <span class="nt">iframe</span><span class="o">,</span>
	<span class="nc">.videoWrapper</span> <span class="nt">embed</span><span class="o">,</span>
	<span class="nc">.videoWrapper</span> <span class="nt">object</span> <span class="p">{</span>
	    <span class="k">position</span><span class="o">:</span> <span class="k">absolute</span><span class="p">;</span>
	    <span class="k">width</span><span class="o">:</span> <span class="m">100</span><span class="o">%</span><span class="p">;</span>
	    <span class="k">height</span><span class="o">:</span> <span class="m">100</span><span class="o">%</span><span class="p">;</span>
	    <span class="k">left</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	    <span class="k">top</span><span class="o">:</span> <span class="m">0</span><span class="p">;</span>
	<span class="p">}</span>
<span class="nt">&lt;/style&gt;</span>
<span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"videoWrapper"</span><span class="nt">&gt;</span>
	<span class="nt">&lt;iframe</span> <span class="na">class=</span><span class="s">'sproutvideo-player'</span> <span class="na">type=</span><span class="s">'text/html'</span> <span class="na">src=</span><span class="s">'http://videos.sproutvideo.com/embed/e898d2b5111be3c860/546cd1548010aaeb?type=sd'</span> <span class="na">width=</span><span class="s">'630'</span> <span class="na">height=</span><span class="s">'354'</span> <span class="na">frameborder=</span><span class="s">'0'</span><span class="nt">&gt;&lt;/iframe&gt;</span>
<span class="nt">&lt;/div&gt;</span>
</code></pre>
</div>
<p><a href="http://s3.amazonaws.com/sproutvideo-examples/responsive.html" target="_blank" rel="noopener noreferrer">See it in action</a> (Try resizing the browser window!)</p>
<h4 id="explanation">Explanation</h4>
<p>In this example, the <code>.videoWrapper</code> sets the <code>padding-bottom</code> property to <code>56.25%</code>. This sets up a 16:9 aspect ratio for that div (9/16 = 56.25%). Then, the SproutVideo iframe embed code is placed within this box and set up to take 100% of it’s width and 100% of it’s height.</p>
<h3 id="tips">Tips</h3>
<ul>
<li>You can use different <code>padding-bottom</code> percentages if your video has a different aspect ratio. Set it to 75% if the video is 4:3, for instance.</li>
<li>If you need some extra room for a player’s controls (like YouTube for instance), you can add a <code>padding-top</code> property to the .videoWrapper class. YouTube’s player chrome is 25px tall so the <code>padding-top</code> should be set to 25px.</li>
<li>If all of this is too much work, you can use a great jQuery plugin called <a href="http://fitvidsjs.com/">FitVid.js</a> to take care of automatically wrapping your videos in a responsive container with an intrinsic aspect ratio and adding the needed CSS. If you’re using FitVid.js with SproutVideo, make sure to add the following custom selector when initializing the plugin:</li>
</ul>
<div class="highlight">
<pre><code class="js"><span class="nx">$</span><span class="p">(</span><span class="s2">"#thing-with-videos"</span><span class="p">).</span><span class="nx">fitVids</span><span class="p">({</span>
    <span class="nx">customSelector</span><span class="o">:</span> <span class="s2">"iframe[src*='videos.sproutvideo.com']"</span><span class="p">});</span>
</code></pre>
</div>
<hr />
<p>Are you using a SproutVideo video in a responsive layout? Leave us URL in the comments. We’d love to see it!</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/how-to-make-your-videos-responsive.html">How To Make Your Videos Responsive</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Video SEO and Video Sitemaps</title>
		<link>https://sproutvideo.com/blog/video-seo-and-video-sitemaps.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Thu, 24 Jan 2013 05:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=263</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">&#60; 1</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Video SEO is an important tool in any company’s arsenal when it comes to improving search rankings and click-through rates. So, how do you get your videos to show up in Google search results, and drive more organic traffic to your site? Why Video SEO? Video SEO is a key part of your larger SEO strategy. It&#8217;s not a silver...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/video-seo-and-video-sitemaps.html">Video SEO and Video Sitemaps</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Video SEO is an important tool in any company’s arsenal when it comes to improving search rankings and click-through rates. So, how do you get your videos to show up in Google search results, and drive more organic traffic to your site?</p>
<p><span id="more-263"></span></p>
<h3>Why Video SEO?</h3>
<p>Video SEO is a key part of your larger SEO strategy. It&#8217;s not a silver bullet, and it&#8217;s not as simple as embedding a few videos and calling it a day.</p>
<p>However, when done correctly, video can encourage visitors to your site to spend more time on the page, and might make them more likely to take secondary actions like signing up for a trial or making a purchase.</p>
<h3>How Video Sitemaps Can Help</h3>
<p>A video sitemap helps search engines locate rich media content on your website. This helps them direct relevant traffic to the page.</p>
<p>Further, by formatting it correctly, you can ensure your video will appear as a rich snippet in search engine results pages.</p>
<h3>Get Started With Video Sitemaps</h3>
<p>With our new <a href="https://sproutvideo.com/help/articles/34-video_sitemaps" target="_blank" rel="noopener noreferrer">Video Sitemaps feature</a>, we make the whole process pretty painless. Of course, <a href="https://sproutvideo.com/signup" target="_blank" rel="noopener noreferrer">you&#8217;ll need a SproutVideo account</a> to do this.</p>
<p>We automatically create a video sitemap and submit it to Google and other search engines for you. All you need to do is make a one-time update to a single file on your website. Then, enter the URL of where your video is embedded on your site for each video you want in your sitemap. That&#8217;s it!</p>
<p>For more inspiration on getting video SEO right, read this article with <a href="https://sproutvideo.com/blog/17-video-seo-best-practices.html" target="_blank" rel="noopener noreferrer">seventeen video SEO tips and tricks</a>.</p>
<hr />
<p>We’re really excited to offer this new feature to help you with your video SEO efforts. We&#8217;d love to hear how it’s helped you! Let us know how you&#8217;re tackling Video SEO in the comments below.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/video-seo-and-video-sitemaps.html">Video SEO and Video Sitemaps</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New Analytics API Calls and Updated Docs</title>
		<link>https://sproutvideo.com/blog/new-analytics-api-calls-and-updated_docs.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Wed, 09 Jan 2013 05:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=264</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">&#60; 1</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Image Credit: rawpixel.com (Freepik) We’re pleased to announce that we’ve added the ability to retrieve all analytics and engagement data through the SproutVideo API. All you need is a SproutVideo account on a plan that has access to either analytics or engagement data and you’re all set. Details on the New Analytics API Calls With these new calls, you can...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/new-analytics-api-calls-and-updated_docs.html">New Analytics API Calls and Updated Docs</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h6>Image Credit: <a href="https://www.freepik.com/free-photos-vectors/business">rawpixel.com</a> (Freepik)</h6>
<p>We’re pleased to announce that we’ve added the ability to retrieve all analytics and engagement data through the SproutVideo API. All you need is a SproutVideo account on a plan that has access to either analytics or engagement data and you’re all set.</p>
<p><span id="more-264"></span></p>
<h3>Details on the New Analytics API Calls</h3>
<p>With these new calls, you can retrieve data for your account or for a specific video. You can grab data for the entire time your account has been active, or drill down and get data for specific dates.</p>
<p>Just like the analytics tools we offer on our website, the following data is available through the API:</p>
<ul>
<li>Play counts &amp; Impressions.</li>
<li>Unique play counts &amp; impressions.</li>
<li>The URL of the page where your videos were played.</li>
<li>Where, geographically, your videos were played.</li>
<li>Which playback method was used (Flash vs HTML5 Video).</li>
<li>What type of device was used (Desktop Computer, Mobile Device, TV, Game Console, etc…).</li>
<li>Overall engagement data for each video.</li>
<li>Engagement data for individual playback sessions.</li>
</ul>
<p>We’ve also updated our <a href="https://sproutvideo.com/docs/api.html">API documentation</a> to not only include these new API calls but to add more information about every single API call. Lastly, we’ve added these methods to our <a href="https://github.com/sproutvideo/sproutvideo-rb">Ruby API client</a> to support these new calls.</p>
<hr />
<p>Let us know what you think! If you wind up using these new API calls, we&#8217;d love to hear about it. If you need help getting started with our API, please <a href="https://sproutvideo.com/contact">contact our support team</a>.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/new-analytics-api-calls-and-updated_docs.html">New Analytics API Calls and Updated Docs</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Add a MailChimp Signup Form to a Video</title>
		<link>https://sproutvideo.com/blog/add-a-mailchimp-signup-form-to-a-video.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Mon, 17 Dec 2012 05:00:00 +0000</pubDate>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Email Marketing]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=266</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">3</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Have you ever wanted to collect emails for a mailing list or newsletter after a video has finished playing? Well, with SproutVideo’s post-play options and MailChimp’s embeddable signup forms, it is very easy. Just follow these simple steps, and you will be collecting emails in no time. SproutVideo and MailChimp SproutVideo supports an integration with MailChimp (and other marketing platforms)...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/add-a-mailchimp-signup-form-to-a-video.html">Add a MailChimp Signup Form to a Video</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Have you ever wanted to collect emails for a mailing list or newsletter after a video has finished playing? Well, with SproutVideo’s <a href="https://sproutvideo.com/help/articles/46-how_to_enable_a_custom_post-play_screen_for_a_video" target="_blank" rel="noopener noreferrer">post-play options</a> and MailChimp’s embeddable signup forms, it is very easy. Just follow these simple steps, and you will be collecting emails in no time.</p>
<p><span id="more-266"></span></p>
<h3>SproutVideo and MailChimp</h3>
<p>SproutVideo supports an integration with MailChimp (and other marketing platforms) for <a href="https://sproutvideo.com/help/articles/101-enable_an_email_marketing_or_marketing_automation_platform_integration" target="_blank" rel="noopener noreferrer">pre-play email capture</a> on all our subscription plan levels. If you want to email-gate your video content, we make it simple and easy to do so.</p>
<p>This post is about using an email capture form as a post-play screen, meaning it will be displayed once your video concludes. Although this example is specific to MailChimp, you could use a similar approach to implement an HTML signup form from any marketing platform of your choice.</p>
<h3>Generate a Signup Form From MailChimp</h3>
<p>First, go to the mailing list for which you would like to collect emails. Then, select “Signup Forms” and the “Embedded Forms” option.</p>
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/2012-12-10-add-a-mailchimp-signup-form-to-a-video_1.jpg" alt="Select “Sign Up Form Embed Code” from the “For Your Website” drop-down menu" /></p>
<p>Next, copy the embed code for the signup form. We recommend using the “Super Slim” option since it fits nicely within most video players.</p>
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/2012-12-10-add-a-mailchimp-signup-form-to-a-video_2.jpg" alt="Copy the embed code for the signup form" /></p>
<h3>Implement Email Signup Form as a Post Play Screen</h3>
<p>Now, go to <a href="https://sproutvideo.com">SproutVideo</a> and pick the video to which you would like to add the signup form. Click on the “Customizations” tab, and pick your desired type of <a href="https://sproutvideo.com/help/articles/16-how_to_embed_a_video" target="_blank" rel="noopener noreferrer">video embed code</a>.</p>
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/2012-12-10-add-a-mailchimp-signup-form-to-a-video_3.jpg" alt="Click on the “Customize this embed code” button" /></p>
<p>Finally, follow these steps to add the Signup Form to the video:</p>
<ol>
<li>Click the “Post-Play” button.</li>
<li>Enable the post-play screen by checking the “Use Post-Play Screen” check box.</li>
<li>Change the content type to HTML from Text by selecting the “HTML” radio button.</li>
<li>Paste the embed code you copied from MailChimp into the “Post-Play Message Content” box. Feel free to customize the HTML and CSS to get things looking just right.</li>
<li>Once you have everything looking exactly the way you like, click the “Save Settings” button.</li>
<li>Finally, copy your new customized video embed code and publish it wherever you’d like.</li>
</ol>
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/2012-12-10-add-a-mailchimp-signup-form-to-a-video_4.jpg" alt="Click on the “Customizations&quot; tab" /></p>
<p><img src="http://d2bhzwsjsidzng.cloudfront.net/images/2012-12-10-add-a-mailchimp-signup-form-to-a-video_5.jpg" alt="Click on the “Customizations&quot; tab" /></p>
<p>Now when you publish the new embed code, just like you would with any of our other embed codes, viewers will see the MailChimp signup form when the video has finished playing!</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/add-a-mailchimp-signup-form-to-a-video.html">Add a MailChimp Signup Form to a Video</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Announcing Video Engagement Analytics</title>
		<link>https://sproutvideo.com/blog/video-engagement-analytics.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Mon, 26 Nov 2012 05:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=267</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">3</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Image Credit: slidesgo (freepik.com) With SproutVideo&#8217;s engagement metrics, you can now answer some fundamental questions about your videos. Are people watching the whole video or are they leaving before your call to action? Are there certain points in the video that people watch over and over? What other videos of mine has this viewer watched? Starting today, you’ll be able to...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/video-engagement-analytics.html">Announcing Video Engagement Analytics</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h6>Image Credit: <a href="https://www.freepik.com/free-photos-vectors/business">slidesgo</a> (freepik.com)</h6>
<p>With SproutVideo&#8217;s <a href="https://sproutvideo.com/help/articles/32-video_engagement_metrics" target="_blank" rel="noopener noreferrer">engagement metrics</a>, you can now answer some fundamental questions about your videos. Are people watching the whole video or are they leaving before your call to action? Are there certain points in the video that people watch over and over? What other videos of mine has this viewer watched?</p>
<p>Starting today, you’ll be able to answer those questions and more using our video engagement analytics. With this new tool, you can not only see aggregate data for all views of a particular video but data for each individual play of your video as well.</p>
<p><span id="more-267"></span><img class="aligncenter size-full wp-image-511" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2012/11/2016-11-18_16-14-34.jpg" alt="Video Engagement Metrics" width="100%" /></p>
<h3>All About Video Engagement Metrics</h3>
<p>SproutVideo offers really <a href="https://sproutvideo.com/help/articles/37-video_analytics" target="_blank" rel="noopener noreferrer">robust high-level analytics</a> that allow you to see where your viewers are located, how many impressions and plays your videos received, and where on the web your videos were watched. That data can be really useful. But, what if you want to understand your audience at the individual level?</p>
<p>That&#8217;s where video engagement metrics come in. For each of your videos, you can easily tell at a glance how engaging your content was. You can see if people skipped or rewatched specific parts of your video. You can also determine the browser, device, operating system, IP address, and physical location of each of your viewers.</p>
<h4>Aggregate Video Engagement Metrics</h4>
<p>The aggregate data makes it easy to determine how engaging your video is in general. You can also see where people drop off while watching the video, as well as how many people, after seeing your video, actually play it.</p>
<p><img class="aligncenter size-full wp-image-511" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2012/11/2016-11-18_16-14-34.jpg" alt="Video Engagement Metrics" width="100%" /></p>
<p>In the example above, you can see that the video was loaded on a page 855 times by 409 unique individuals. Of 855 times the video was loaded on the page, the video was played 196 times. This results in a play rate of 23%. Not too shabby!</p>
<p>The green graph indicates the average level of engagement for each second of the video. This is calculated by tracking data about each playback session for each second of the video. You can see that engagement declines somewhat throughout the course of the video, and drops off slightly towards the end.</p>
<h4>Analyzing Individual Viewers</h4>
<p>With the individual play engagement data, you can easily see which parts of the video were watched, skipped, or re-watched. You can also see where and when the play took place, as well as what device was used to watch the video. Lastly, you can see how many of your other videos the viewer has played.</p>
<p><img class="aligncenter size-full wp-image-513" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2012/11/2016-11-18_16-52-00.png" alt="Video Engagement Data For Individual Viewers" width="100%" /></p>
<p>The different colors in the heatmap indicate that parts of the video were watched more than once. In the above example, you can tell that the first viewer watched the first part of the video, colored in yellow, at least twice. They also rewatched another chunk, indicated by the color orange, three times. In comparison, the second viewer watched the whole video in its entirety. They did not rewatch any of it.</p>
<p>You can go even further and tag viewers with a name and email address so you can easily keep track of them. You can either manually tag viewers or have them be automatically tagged using our login protection feature or by passing in a parameter into the embed code. Please refer to this help article for more information about <a href="https://sproutvideo.com/help/articles/108-how_to_track_viewers_with_their_contact_information" target="_blank" rel="noopener noreferrer">tagging and tracking individual viewers by email address</a>.</p>
<p>We believe our new video engagement analytics will not only help you gain meaningful insight into how people are watching your videos. They also give you actionable data. You can use this new information to alter your videos to be more engaging.</p>
<hr />
<p>If you&#8217;re interested in testing out the power of video engagement metrics for yourself, <a href="https://sproutvideo.com/signup">get started with a free trial of our platform</a> today. Questions? Please ask us in the comments below, or <a href="https://sproutvideo.com/contact">contact our support team</a>.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/video-engagement-analytics.html">Announcing Video Engagement Analytics</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New Feature: Subtitle Support</title>
		<link>https://sproutvideo.com/blog/subtitles.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Thu, 04 Oct 2012 04:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=269</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">2</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> New! SproutVideo now supports subtitles on all modern devices, browsers, and operating systems. This ensures that no matter how your audience is viewing your content, they&#8217;ll be able to understand it. Keep reading for details on how to add subtitles to your videos, and important reasons for doing so. Why Use a Subtitle Track? Subtitle tracks, also referred to as closed captions,...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/subtitles.html">New Feature: Subtitle Support</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>New! SproutVideo now supports subtitles on all modern devices, browsers, and operating systems. This ensures that no matter how your audience is viewing your content, they&#8217;ll be able to understand it. Keep reading for details on how to add subtitles to your videos, and important reasons for doing so.</p>
<p><span id="more-269"></span></p>
<h3>Why Use a Subtitle Track?</h3>
<p>Subtitle tracks, also referred to as closed captions, are important to add to videos for several reasons.</p>
<p>The main reason is accessibility. Maybe a member of your audience is hearing impaired, or just wants to watch your video with the sound muted. Closed captions allow your audience to understand your content without sound.</p>
<p>This can have spillover effects. Because your audience doesn&#8217;t need to crank the volume or grab their headphones, they might stick around and watch more of your video. In this sense, subtitles can help drive engagement.</p>
<p>They can also help your viewers process what&#8217;s being said, and retain it. When you hear and read the same information simultaneously, it reinforces the memory of it by using multiple neural pathways in your brain. When it comes to making a lasting impression on viewers, closed captions can be a valuable tool.</p>
<h3>How Subtitles Work on the SproutVideo Platform</h3>
<p>Subtitles on the SproutVideo platform use the standard <a href="https://en.wikipedia.org/wiki/WebVTT" target="_blank" rel="noopener noreferrer">WebVTT</a> format. Nearly all web browsers have adopted the WebVTT format for timed text support going forward.</p>
<p>Both our <a href="https://sproutvideo.com/blog/announcing-our-new-hls-player-sleeker-sharper-smoother-secure-and-social.html" target="_blank" rel="noopener noreferrer">primary HTML5 video player</a> and our fallback Flash player support closed captions. That means that even if a viewer is on an older browser or a mobile device, they will still work.</p>
<p>You can get pretty fancy with subtitles. For instance, you can add multiple language tracks if you have multilingual viewers, or a widespread audience in different countries. If you&#8217;re embedding your video, you can launch it with subtitles running automatically by using an <a href="https://sproutvideo.com/help/articles/61-embed_code_parameters" target="_blank" rel="noopener noreferrer">embed code parameter</a>. This is particularly handy for autoplaying videos, or videos that play without sound by default.</p>
<p>To read more about how to use subtitles for videos hosted on SproutVideo, read our help article about <a href="https://sproutvideo.com/help/articles/31-subtitles" target="_blank" rel="noopener noreferrer">adding closed captions to your videos</a>.</p>
<hr />
<p>Questions? Please let us know in the comments below, or <a href="https://sproutvideo.com/contact">contact our friendly support team</a>.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/subtitles.html">New Feature: Subtitle Support</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Add Text, Links, Images, and HTML to the End of a Video</title>
		<link>https://sproutvideo.com/blog/post-play.html</link>
		
		<dc:creator><![CDATA[Adam Podolnick]]></dc:creator>
		<pubDate>Wed, 19 Sep 2012 04:00:00 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Product Update]]></category>
		<guid isPermaLink="false">http://sproutvideo.wpengine.com/?p=270</guid>

					<description><![CDATA[<p><span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">2</span> <span class="rt-label rt-postfix">MIN TO READ</span></span> Right when a video ends, a viewer is likely to be highly interested in the topic or product being showcased. So, what action do you want them to take? The ability to sustain viewer interest after a video concludes is critical to driving traffic and conversions. Now, you can easily setup a post-play screen to display a custom message, link, or...</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/post-play.html">Add Text, Links, Images, and HTML to the End of a Video</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Right when a video ends, a viewer is likely to be highly interested in the topic or product being showcased. So, what action do you want them to take?</p>
<p>The ability to sustain viewer interest after a video concludes is critical to driving traffic and conversions. Now, you can easily setup a post-play screen to display a custom message, link, or form after your video ends. Keep reading for tips on how to set one up for your videos today.</p>
<p><span id="more-270"></span></p>
<h3>What is a Post Play Screen?</h3>
<p>We’ve added yet another heavily requested feature which we’re releasing today. You can now add text, links, images or any HTML you’d like which will be displayed after your video finishes playing. Check it out:</p>
<p><iframe loading="lazy" class="sproutvideo-player" src="http://videos.sproutvideo.com/embed/709bd8b51c1ce0c6f8/7693dc86e236743c?type=sd&amp;postroll[text]=Thanks%20for%20watching%21%3Cbr/%3E%3Cbr/%3EClick%20here%20to%20sign%20up%20for%20an%20account%21&amp;postroll[url]=http://sproutvideo.com&amp;postroll[fontsize]=36&amp;postroll[fontcolor]=ffffff&amp;postroll[bgcolor]=1dad00" width="690" height="388" frameborder="0"><br />
</iframe></p>
<p>This is incredibly useful for guiding your viewers&#8217; actions after they finish watching one of your videos.</p>
<h3>Ways to Use Post Play Screens</h3>
<p>You can <a href="https://sproutvideo.com/help/articles/46-how_to_enable_a_custom_post-play_screen_for_a_video" target="_blank" rel="noopener noreferrer">add a call to action with a link</a> so that the viewer isn’t lost after the video finishes playing. Easily direct them to the landing page of your choice by using the text and URL fields provided.</p>
<p>You can also use this to collect information about your viewers. For example, you could <a href="https://sproutvideo.com/blog/add-a-mailchimp-signup-form-to-a-video.html" target="_blank" rel="noopener noreferrer">embed a MailChimp mailing list subscription form</a> by simply copy and pasting the form embed code for your list.</p>
<p>Since custom HTML is supported, the sky is really the limit!</p>
<h3>How to Create a Post Play Screen</h3>
<p>To get started with these new options, go to one of your videos and navigate to the Customizations tab.</p>
<p>From there, select the way you&#8217;d like to share your video. Are you using an <a href="https://sproutvideo.com/help/articles/16-how_to_embed_a_video" target="_blank" rel="noopener noreferrer">inline embed code</a>? A <a href="https://sproutvideo.com/help/articles/105-how_to_generate_or_customize_a_lightbox_embed_code" target="_blank" rel="noopener noreferrer">lightbox embed code</a>? Our <a href="https://sproutvideo.com/video_websites" target="_blank" rel="noopener noreferrer">video websites</a>? Either way, you can use post play screens since we support them for all our current sharing options.</p>
<p>Click the &#8220;Post Play&#8221; button to launch the post play screen settings. As you edit the options, the preview will update in real time. Be sure to check the box, &#8220;Use Post-Play Screen.&#8221;</p>
<p>Once you’ve got the screen looking the way you like, click &#8220;Save Settings,&#8221; copy the new embed code, and you’re good to go.</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-495" src="https://d9pfvpeevxz0y.cloudfront.net/blog/wp-content/uploads/2012/09/2016-11-08_17-25-54-1.png" alt="Easily Create Post Play Screens with SproutVideo" width="660" height="546" /></p>
<p>There are tons of great and <a href="https://sproutvideo.com/blog/four-smart-ways-to-use-customizable-post-play-screens.html" target="_blank" rel="noopener noreferrer">creative ways to use our new post play screens</a>. We’re excited to see how you use this awesome feature!</p>
<hr />
<p>Any questions about getting started with customizable post play screens? Ask us in the comments below, or <a href="https://sproutvideo.com/contact">reach out to our support team</a>.</p>
<p>The post <a rel="nofollow" href="https://sproutvideo.com/blog/post-play.html">Add Text, Links, Images, and HTML to the End of a Video</a> appeared first on <a rel="nofollow" href="https://sproutvideo.com/blog">SproutVideo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
