RePlays icon indicating copy to clipboard operation
RePlays copied to clipboard

Video player does not work properly when in debug

Open lulzsun opened this issue 3 years ago • 0 comments

There are two issues that come up when trying to use the video player:

  1. Long video load times due to WebView2's SetVirtualHostNameToFolderMapping(?) depending on how large the file size is (MicrosoftEdge/WebView2Feedback#1071)
  2. Cannot modify the currentTime of a video in HTML page displayed by SetVirtualHostNameToFolderMapping (MicrosoftEdge/WebView2Feedback#1386)

These issues do not affect production builds because in production we do not use SetVirtualHostNameToFolderMapping and instead use direct file URIs with file:///. This is a workaround, but also because things load faster(?) when using file:///.

This is a WebView2 issue, so it will not be fixed by us.

lulzsun avatar Aug 05 '22 13:08 lulzsun