Skip to content

Commit

Permalink
Merge pull request #33 from AltIvan/patch-1
Browse files Browse the repository at this point in the history
Update readme with an example for passing in a string parameter into the seek method
  • Loading branch information
nirvanatikku committed Apr 29, 2013
2 parents 7a43b78 + 040e139 commit a5863b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -44,7 +44,8 @@ The TubePlayer plugin simplifies the process for developers to control and work
jQuery("#player").tubeplayer("play", {id: videoId, time: 0});
jQuery("#player").tubeplayer("pause");
jQuery("#player").tubeplayer("stop");
jQuery("#player").tubeplayer("seek",100);
jQuery("#player").tubeplayer("seek","0:32");
jQuery("#player").tubeplayer("seek",100); // or use seconds
jQuery("#player").tubeplayer("mute");
jQuery("#player").tubeplayer("unmute");
jQuery("#player").tubeplayer("isMuted");
Expand Down

0 comments on commit a5863b3

Please sign in to comment.