Permalink
Browse files

[t1073] review changes

  • Loading branch information...
1 parent ead28b7 commit 7541acc57ebd2efd3f2ec4ad5670050b2367a279 @secretrobotron secretrobotron committed Jul 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 players/_posts/2012-12-12-smart.md
View
4 players/_posts/2012-12-12-smart.md
@@ -11,12 +11,12 @@ The idea is that Smart will try to find an acceptable player, given the id and u
Smart will also work with video elements, and attempt to create an HTML5 video experience if possible. In this case, the container can be a video element or a div. If it is a div, a video element will be created and appended to the supplied div.
-The _url_ paramter can be a string representing the media url, or an array of strings if multiple urls are applicable. For instance, different browsers support different codecs for HTML5 video, so different encodings of the same video they can be listed in sequence as the url parameter -- much like they can with the video tag by adding multiple <source> children. This function will test each url to see if Popcorn (and the browser) is capable of playing it, and select the first applicable url to be the player's source.
+The _url_ paramter can be a string representing the media url, or an array of strings if multiple urls are applicable. For instance, different browsers support different codecs for HTML5 video, so different encodings of the same video they can be listed in sequence as the url parameter -- much like they can with the video tag by adding multiple <source> children. This function will test each url to see if Popcorn (and the browser) is capable of playing it, and select the first applicable url to be the player's source. Note that it is not necessary to use a list of media urls of the same type; using HTML5 media mixed with youtube, vimeo, etc. is acceptable.
## Options ##
* **id** \[String\] - the id of the HTML element that the appropriate player will populate
-* **url** \[String or Array\] - the url of the media you wish to use. If this parameter is an array, each entry will be analyzed to see if Popcorn has the ability to play it through standard HTML5 video/audio, or through a registered Popcorn player.
+* **url** \[String or Array\] - the url of the media you wish to use. If this parameter is an array, each entry will be analyzed to see if Popcorn has the ability to play it through standard HTML5 video/audio, or through a registered Popcorn player (using _canPlayType as mentioned above).
## Examples ##

0 comments on commit 7541acc

Please sign in to comment.