Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mspanc committed Nov 23, 2016
1 parent 373ac45 commit ab4aa90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ infrastructure.

So far it contains one library, for doing playback of RadioKit-based channels.

Click here to see documentation for Playback Toolkit.

Contents
~~~~~~~~

Expand Down
4 changes: 4 additions & 0 deletions docs/source/playback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ The sample below shows how to use player at the website.
At the moment it covers the whole public API available so there's no separate
reference:

.. code-block:: html
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -217,10 +218,12 @@ NPM

If you want to use Playback Toolkit with your NPM-based projects, type

::
npm install --save radiokit-toolkit-playback

Then you can use it in your code like this:

.. code-block:: javascript
import { Channel } from 'radiokit-toolkit-playback';
let channelId = "fd9a7d1c-a387-40a0-b876-2799668d6f9d";
Expand All @@ -236,6 +239,7 @@ of the repository http://bitbucket.org/radiokit/toolkit-js-playback

Then you can just embed it in the HTML using regular script tag:

::
<script src="radiokit-toolkit-playback-1.0.2.js"></script>

once it's loaded, the global window.RadioKitToolkitPlayback object is available.
Expand Down

0 comments on commit ab4aa90

Please sign in to comment.