mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 14:57:12 +00:00
Hiding video player play button directly when clicking to reduce the
delay for the user
This commit is contained in:
1 parent
0f0cda0980
commit
fde7ccd55a
1 file changed
+1
+1
@@ -44,6 +44,7 @@ public class VideoPlayer extends Composite {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(ClickEvent event) {
|
public void onClick(ClickEvent event) {
|
||||||
videoJSPlayer.play();
|
videoJSPlayer.play();
|
||||||
|
playButton.setVisible(false);
|
||||||
}
|
}
|
||||||
}, ClickEvent.getType());
|
}, ClickEvent.getType());
|
||||||
panel.add(playButton);
|
panel.add(playButton);
|
||||||
|
|||||||
Reference in new issue
Block a user