Commit 2871b35f authored by Gautam Chitnis's avatar Gautam Chitnis

Fix (minor):Fix for play/pause and Playlist button icon

This commit fixes the issue where play/pause actions would have reverse effect in VLC Main Interface.
It also changes the text on playlist button in mobile view to a playlist icon.

Gautam C.
parent f0aa3f2e
......@@ -68,7 +68,7 @@
</ol>
</div>
<div class="playlistNavMobile" id="mobilePlaylistNavButton">
Playlist
<center><i class="glyphicon glyphicon-list"></i></center>
</div>
</div>
</div>
......
......@@ -5,13 +5,13 @@ export let player;
export function plyrInit()
{
player = plyr.setup({showPosterOnEnd:true});
setVideo('S6IP_6HG2QE','youtube');
//setVideo('S6IP_6HG2QE','youtube');
player[0].on('pause', function() {
sendCommand(0,"command=pl_pause");
});
player[0].on('play', function() {
sendCommand(0,"command=pl_pause");
sendCommand(0,"command=pl_play");
});
player[0].on('volumechange', function(event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment