Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Laguna Matías committed Nov 20, 2013
1 parent 8ebbed7 commit 78aa8fb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
@@ -1,3 +1,8 @@
0.2.0 / 2013-11-20
==================

* Fixed issue which avoided the playlist to work with latest versions of videojs


0.1.1 / 2013-08-26
==================
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
#videojs-playlists

Playlists done right for VideoJS
Sexy Playlists for VideoJS.

##Installation

Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "videojs-playlists",
"description": "Playlists done right for Videojs",
"version": "0.1.1",
"version": "0.2.0",
"homepage": "",
"license": "MIT",
"copyright": "Antonio Laguna",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "videojs-playlists",
"version": "0.0.0",
"version": "0.2.0",
"private": true,
"devDependencies": {
"mocha": "1.10.0",
Expand Down
8 changes: 4 additions & 4 deletions test/index.html
Expand Up @@ -4,12 +4,12 @@
<meta charset="utf-8">
<title>videojs-playlists Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../components/assert/assert.js"></script>
<script src="../bower_components/assert/assert.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<!--<script src="../components/blanket/dist/qunit/blanket.min.js" data-cover-adapter="../components/blanket/src/adapters/mocha-blanket.js"></script>-->
<script>mocha.setup('tdd')</script>
<link href="http://vjs.zencdn.net/4.0/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/4.0/video.js"></script>
<link href="http://vjs.zencdn.net/4.3.0/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/4.3.0/video.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<style>
#example_video_1 { display: none; }
</style>
Expand Down
5 changes: 3 additions & 2 deletions test/videojs-playlists.test.js
Expand Up @@ -9,7 +9,7 @@ suite('videojs-playlists', function() {
'http://stream.flowplayer.org/bauhaus/624x260.mp4',
'http://stream.flowplayer.org/bauhaus/624x260.ogv'
],
poster : '',
poster : 'http://flowplayer.org/media/img/demos/functional.jpg',
title : 'Whales'
},
{
Expand Down Expand Up @@ -42,7 +42,8 @@ suite('videojs-playlists', function() {
assert.equal(player.pl.current,index);
});
test('poster should match video poster',function(){
assert.equal(player.pl.el.poster,videos[index].poster);
var poster = $('.vjs-poster').css('background-image').replace('url(','').replace(')','');
assert.equal(poster,videos[index].poster);
});
});
suite('general',function(){
Expand Down

0 comments on commit 78aa8fb

Please sign in to comment.