Refactor and fix player (#19)

* Refactor and fix player

* Rename functions, fix video loading indicator

* Hide loading indicator on exit
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-12-02 10:46:48 -05:00
1 parent 2d1490f925
commit 68a8d61eb0
14 files changed
+388 -329

No files matched your search

+10 -1
View File
@@ -1,11 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<component name="VideoPlayer" extends="Video">
<script type="text/brightscript" uri="VideoPlayerSponsorBlock.bs" />
<script type="text/brightscript" uri="VideoPlayerCaptions.bs" />
<interface>
<field id="sender" type="node" />
<field id="chapter" type="string" alias="chapterLabel.text" />
<field id="videoId" type="string" />
</interface>
<children>
<SponsorBlockTask
functionName="TaskMain"
id="SponsorBlockTask" />
<VideoDetailsTask
functionName="TaskMain"
id="VideoDetailsTask" />
<Label
id="chapterLabel"
width="350"