1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-16 12:23:54 +02:00

techOrder should be an array of strings

- Correct the example where the value of techOrder is a hash when it should be an array.
- Make examples clearer that the elements of this array should be strings, not another array.
This commit is contained in:
Eric Rafaloff 2012-12-17 15:07:28 -05:00
parent a34259860f
commit 74f055d125

View File

@ -42,11 +42,11 @@ 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]]}'
<video data-setup='{"techOrder": ["html5", "flash", "other supported tech"]}'
### Object Method: ###
_V_("videoID", {
techOrder: {"html5", "flash", [other supported tech]}
techOrder: ["html5", "flash", "other supported tech"]
});
Youtube Technology