Permalink
Browse files

Merge pull request #46 from ilyakatz/hd-toggle-jwplyer

Document JWPlayer HD toggle option
  • Loading branch information...
2 parents 540feb6 + a639793 commit dc945229ceac6812f2f7079b83939a9a9e18ed5f @ScottDowne ScottDowne committed May 18, 2015
Showing with 18 additions and 0 deletions.
  1. +18 −0 media-wrappers/_posts/2014-12-04-jwplayer.md
View
18 media-wrappers/_posts/2014-12-04-jwplayer.md
@@ -34,3 +34,21 @@ The [JWPlayer](http://jwplayer.com) wrapper allows the use streaming video using
pop.play();
{% endhighlight %}
+
+To use [HD Quality Toggling](http://support.jwplayer.com/customer/portal/articles/1428524-hd-quality-toggling) option
+
+{% highlight js linenos %}
+
+ var player = Popcorn.HTMLJWPlayerVideoElement('#video');
+ player.src = [{
+ label: "Low",
+ file: "https://videos.cdn.mozilla.net/uploads/webmademovies/wtfpopcorn-low.mp4",
+ },{
+ label: "Medium",
+ file: "https://videos.cdn.mozilla.net/uploads/webmademovies/wtfpopcorn-medium.mp4"
+ },{
+ label: "High",
+ file: "https://videos.cdn.mozilla.net/uploads/webmademovies/wtfpopcorn-high.mp4",
+ }]
+ pop.play();
+{% endhighlight %}

0 comments on commit dc94522

Please sign in to comment.