Skip to content

Commit

Permalink
add padding style for subs dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishanth authored and Nishanth committed Mar 4, 2016
1 parent 581deca commit 80f1736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions video-controlbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@
border-left-width: 2px;
border-left-style: solid;
border-left-color: white;
border-bottom: 2px solid white;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: white;
z-index: 9999;
}

Expand Down
7 changes: 4 additions & 3 deletions video-player.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@
ListItem.setAttribute("data-srclang", trackElements[i].getAttribute("srclang"));
ListItem.setAttribute("data-index", ++j);
ListItem.setAttribute("data-label", trackElements[i].getAttribute("label"));
//ListItem.setAttribute("padding", "8px 0px");
ListItem.style.paddingTop="4px";
ListItem.style.paddingBottom="4px";
var lang=document.createElement("span");
lang.innerHTML=trackElements[i].getAttribute("srclang").toUpperCase();
ListItem.appendChild(lang);
Expand Down Expand Up @@ -361,7 +362,7 @@
this.videoStreamList[0].resize(this.videoStreamList.length);
this.videoStreamList.slice(-1)[0].resize(this.videoStreamList.length);
this.videoStreamList[1].resize(this.videoStreamList.length);
this.videoStreamList.slice(-1)[1].resize(this.videoStreamList.length);
// this.videoStreamList.slice(-1)[1].resize(this.videoStreamList.length);

} else if (width(this.videoStreamList[0]) > (this.startWidth + detail.dx)) {
// We're making the first video smaller
Expand All @@ -376,7 +377,7 @@
// Resize the second video, and then the first
this.videoStreamList.slice(-1)[0].resize(this.videoStreamList.length);
this.videoStreamList[0].resize(this.videoStreamList.length);
this.videoStreamList.slice(-1)[1].resize(this.videoStreamList.length);
// this.videoStreamList.slice(-1)[1].resize(this.videoStreamList.length);
this.videoStreamList[1].resize(this.videoStreamList.length);
}
console.log('****' + this.videoStreamList[0].style.width);
Expand Down

0 comments on commit 80f1736

Please sign in to comment.