Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Aug 27, 2016
1 parent 9e6438c commit 60d90b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ $ npm install dplayer --save

```JS
var dp = new DPlayer(option);
dp.init();
```

**Options**
Expand Down Expand Up @@ -66,7 +65,6 @@ var option = {

**API**

+ `dp.init()` // Load player
+ `dp.play()` // Resume play
+ `dp.play(time)` // Set currentTime
+ `dp.pause()` // Pause
Expand Down Expand Up @@ -111,7 +109,6 @@ var dp = new DPlayer({
// ...
}
});
dp.init();
</script>
```

Expand All @@ -120,7 +117,6 @@ dp.init();
```js
var DPlayer = require('DPlayer');
var dp = new DPlayer(option);
dp.init();
```

### Danmaku back-end
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dplayer",
"version": "1.0.6",
"version": "1.0.7",
"description": "Wow, such a lovely HTML5 danmaku video player",
"main": "dist/DPlayer.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/DPlayer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
console.log("\n %c DPlayer 1.0.6 %c http://dplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");
console.log("\n %c DPlayer 1.0.7 %c http://dplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");

require('./DPlayer.scss');

Expand Down

0 comments on commit 60d90b1

Please sign in to comment.