Skip to content

Commit

Permalink
Vimeo Bug Fixes
Browse files Browse the repository at this point in the history
Lights now working as intended. Daily Motion icon customized to fit
black theme and converted to svg for efficient loading.
  • Loading branch information
kyle8998 committed Feb 13, 2018
1 parent 745bf5b commit 782f8d7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
23 changes: 23 additions & 0 deletions img/dailymotion-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</button>
<div class="form-control dropdown-menu scrollable-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" onclick="changePlayer(roomnum, 0)"><i class="fab fa-youtube"></i> YouTube</a>
<a class="dropdown-item" onclick="changePlayer(roomnum, 1)"><img width="16px" height="16px" src="http://static1.dmcdn.net/images/dailymotion-logo-ogtag.png.v2779e025da411e7f2" alt="Daily Motion Logo"> Daily Motion</a>
<a class="dropdown-item" onclick="changePlayer(roomnum, 1)"><img width="14px" height="14px" src="img/dailymotion-logo.svg" alt="Daily Motion Logo"> Daily Motion</a>
<a class="dropdown-item" onclick="changePlayer(roomnum, 2)"><i class="fab fa-vimeo"></i> Vimeo (Beta)</a>
</div>
</div>
Expand Down Expand Up @@ -161,8 +161,11 @@
src="//www.dailymotion.com/embed/video/VIDEO_ID?PARAMS"
allowfullscreen allow="autoplay"></iframe>
</div>
<div id='vimeoArea'>
<iframe id="player-vimeo" src="https://player.vimeo.com/video/76979871" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<div style="z-index: 100" id='vimeoArea'>
<iframe class="video" id="player-vimeo"
src="https://player.vimeo.com/video/76979871"
width="640" height="360" frameborder="0"
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>

<!-- Daily motion -->
Expand Down

0 comments on commit 782f8d7

Please sign in to comment.