Permalink
Browse files

Adding basic tech and YouTube documentation courtesy of John A. Baena…

… (JAB)
  • Loading branch information...
1 parent d8fa124 commit 7d35d0dbee24c7d9fc2d84763d08a5dd54cf1549 @jhurliman committed Jun 23, 2012
Showing with 44 additions and 0 deletions.
  1. +44 −0 docs/tech.md
View
@@ -44,3 +44,47 @@ timeupdate
progress
enterFullScreen
exitFullScreen
+
+Adding Playback Technology
+==================
+When adding additional Tech to a video player, make sure to add the supported tech to the video object.
+
+### Tag Method: ###
+ <video data-setup='{"techOrder", "html5", "flash", [other supported tech]}'
+
+### Object Method: ###
+ _V_("videoID", {
+ techOrder: {"html5", "flash", [other supported tech]}
+ });
+
+Youtube Technology
+==================
+To add a youtube source to your video tag, use the following source:
+
+ <source src="http://www.youtube.com/watch?v=[ytVideoId]" type="video/youtube"
+
+Important Note:
+------------------
+> You can simply copy and paste the url of the youtube page from the browser and
+> the Youtube Tech will be able to find the video id by itself. This is just the
+> minimum needed to get the video working. (Useful for data storage)
+
+
+Youtube Technology - Extra Options
+----------------------------------
+
+In Addition to the natively supported options, the Youtube API supports the following
+added options:
+
+### ytcontrols ###
+Type: Boolean (T/F)
+Default: False
+
+Determines whether to show Youtube's basic Red/Black default play bar skin or to hide
+it and use the native video-js play bar.
+
+### hd ###
+Type: Boolean (T/F)
+Default: False
+
+Determines whether or not to play back the video in HD.

0 comments on commit 7d35d0d

Please sign in to comment.