From 2c3f7f7177864a91fd77c950c88341b135083c7d Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Wed, 14 Nov 2012 14:42:06 -0800 Subject: [PATCH] Testing code highlighting --- docs/api.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/api.md b/docs/api.md index ef8a61f76..579f947aa 100644 --- a/docs/api.md +++ b/docs/api.md @@ -6,11 +6,9 @@ Referencing the Player ---------------------- To use the API functions, you need access to the player object. Luckily this is easy to get. You just need to make sure your video tag has an ID. The example embed code has an ID of "example\_video_1". If you have multiple videos on one page, make sure every video tag has a unique ID. - - - var myPlayer = _V_("example_video_1"); - - +```js +var myPlayer = _V_("example_video_1"); +``` (If the player hasn't been initialized yet via the data-setup attribute or another method, this will also initialize the player.)