When the user navigates from a page with a playing video, this video can be displayed in a picture-in-picture-esque popup, ala Twitch.
1.
2.
3.
I don't think this is gonna be that easy but I'll try :stuck_out_tongue:
Also needs an autoplay feature and let's not forget about this one: https://github.com/lbryio/lbry-app/issues/491
I'm on it, maybe I'll have something this weekend. 馃槃
Notes
@dan1d was taking a look at this one too... Not sure if he started yet.
Yes @tzarebczan , I'm working on it, I'll try to finish it by EOD, but I'm having troubles closing the video when another video is played, if I fix that, then I think it is good to go.

I was also planing to make the video draggable, but I want to finish the core first.
Thanks for the heads up @tzarebczan
Notes, last findings:
I can move the video playback elements, without interruption (on Windows), using node manipulation.
Moving the node with appendChild() (removing the element manually causes an interruption) causes the video to pause. Using a subsequent play() call on the video player results in no interruption of playback. Because leaving the page does not manipulate elements within the video elements, React does not error on DOM reconciliation. This only works when the code managing the video player has been unloaded (DOM moved, user leaves video page, then DOM is manipulated)
Code used in dev tools (on a video page, with video playing):
var videoNode = document.getElementsByClassName('content__view--container')[0];
var videoPlayer = videoNode.getElementsByTagName('video')[0];
var header = document.getElementsByClassName('header')[0];
var navBar = document.getElementsByClassName('nav__primary')[0];
// Move to header
header.appendChild(videoNode); videoPlayer.play();
// Move to navBar
navBar.appendChild(videoNode); videoPlayer.play();
@dan1d thanks for the update, let me know if you need assistance.
ok @skhameneh, I need to cleanup my code then push, maybe you can take a look if i'm on the correct path. Will let you know when pushed
@skhameneh @tzarebczan PR sent, I would like to receive some feedback or any modification to the styles would be appreciated!
Thanks in advance!
Closing
https://github.com/lbryio/lbry-desktop/pull/1523, a new PR can be filed when work is resumed.
The beast has been conquered
Amazing!!!
Most helpful comment
ok @skhameneh, I need to cleanup my code then push, maybe you can take a look if i'm on the correct path. Will let you know when pushed