Skip to content

Commit

Permalink
update the paths to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Matas Petrikas committed Jan 30, 2010
1 parent ea3a3c6 commit 4ed15cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/example_basic.html
Expand Up @@ -9,7 +9,7 @@
</head> </head>
<body> <body>
<h1>Player JavaScript API - simple listener implementation (JS Library agnostic)</h1> <h1>Player JavaScript API - simple listener implementation (JS Library agnostic)</h1>
<script type="text/javascript" charset="utf-8" src="../soundcloud.player.js"></script> <script type="text/javascript" charset="utf-8" src="../soundcloud.player.api.js"></script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">


// ------- a simple auto-play example ---------- // ------- a simple auto-play example ----------
Expand Down
4 changes: 2 additions & 2 deletions examples/example_jquery.html
Expand Up @@ -9,13 +9,13 @@
</head> </head>
<body> <body>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../soundcloud.player.js"></script> <script type="text/javascript" charset="utf-8" src="../soundcloud.player.api.js"></script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">


// ------- a simple auto-play example ---------- // ------- a simple auto-play example ----------
// $(function() { // $(function() {
$(document).bind('soundcloud:onPlayerReady', function(event, data) { $(document).bind('soundcloud:onPlayerReady', function(event, data) {
// the soundcloud.player.js wrapper triggers custom events // the soundcloud.player.api.js wrapper triggers custom events
// please refer to JS API wrapper for full event list // please refer to JS API wrapper for full event list
var apiUrl = data.mediaUri + '.json?callback=?'; var apiUrl = data.mediaUri + '.json?callback=?';
// call the SoundCloud API for more info // call the SoundCloud API for more info
Expand Down
6 changes: 3 additions & 3 deletions examples/example_prototype.html
Expand Up @@ -9,13 +9,13 @@
</head> </head>
<body> <body>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script> <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>
<script type="text/javascript" charset="utf-8" src="../soundcloud.player.js"></script> <script type="text/javascript" charset="utf-8" src="../soundcloud.player.api.js"></script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">


// ------- an example of Prototype integration ---------- // ------- an example of Prototype integration ----------
$(document) $(document)
.observe('soundcloud:onPlayerReady', function(event) { .observe('soundcloud:onPlayerReady', function(event) {
// the soundcloud.player.js wrapper triggers custom events // the soundcloud.player.api.js wrapper triggers custom events
// please refer to JS API wrapper for full the event list // please refer to JS API wrapper for full the event list
var flash = event.target, var flash = event.target,
playing; playing;
Expand Down Expand Up @@ -86,7 +86,7 @@
// ------- an example of Prototype integration ---------- // ------- an example of Prototype integration ----------
$(document) $(document)
.observe('soundcloud:onPlayerReady', function(event) { .observe('soundcloud:onPlayerReady', function(event) {
// the soundcloud.player.js wrapper triggers custom events // the soundcloud.player.api.js wrapper triggers custom events
// please refer to JS API wrapper for full the event list // please refer to JS API wrapper for full the event list
var flash = event.target, var flash = event.target,
playing; playing;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_methods.html
Expand Up @@ -15,7 +15,7 @@ <h1>Player JavaScript API - test public methods</h1>
} }
</style> </style>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../soundcloud.player.js"></script> <script type="text/javascript" charset="utf-8" src="../soundcloud.player.api.js"></script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">


// ------- Test the public methods in player ---------- // ------- Test the public methods in player ----------
Expand Down

0 comments on commit 4ed15cd

Please sign in to comment.