Skip to content
Browse files

Added note

  • Loading branch information...
1 parent 1b0d597 commit 0b7d1fd827eea60ccf0e1796868fe691762f2d85 mdix committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -18,7 +18,7 @@ Currently ytIframe is available as version 1.0, which can be downloaded [here](h
videoHash: 'w4yGJEU85wY',
cookie: true
})`
-or by passing the videoHash directly as a string (and thus, using the defaults for size etc.): `YtIframe('w4yGJEU85wY')` You may also pass a full youtube url and ytIframe extracts the hash, like: `YtIframe('http://www.youtube.com/watch?v=VLnr3-tsJ0A')`.
+or by passing the videoHash directly as a string (and thus, using the defaults for size etc.): `YtIframe('w4yGJEU85wY')` You may also pass a full youtube url and ytIframe extracts the hash, like: `YtIframe('http://www.youtube.com/watch?v=VLnr3-tsJ0A')`. Note: This also works if you use the config object.
3. YtIframe() returns a DOM object (IFRAME) which then can be appended to other elements, like: `document.body.appendChild(YtIframe(config));` or `document.getElementById('myVideoDiv').appendChild(YtIframe(config));`

0 comments on commit 0b7d1fd

Please sign in to comment.
Something went wrong with that request. Please try again.