|
|
@ -246,16 +246,9 @@ export const VideoPlayer: Component<VideoPlayerProps> = (props) => {
|
|
|
|
preload="auto"
|
|
|
|
preload="auto"
|
|
|
|
storage="thrimbletrimmer"
|
|
|
|
storage="thrimbletrimmer"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<media-provider
|
|
|
|
<media-provider />
|
|
|
|
onClick={(event) => {
|
|
|
|
<media-gesture event="pointerup" action="toggle:paused" />
|
|
|
|
const player = props.mediaPlayer();
|
|
|
|
<media-gesture event="dblpointerup" action="toggle:fullscreen" />
|
|
|
|
if (player.paused) {
|
|
|
|
|
|
|
|
player.play(event);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
player.pause(event);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<media-captions class="vds-captions" />
|
|
|
|
<media-captions class="vds-captions" />
|
|
|
|
<media-controls class="vds-controls" hideDelay={0}>
|
|
|
|
<media-controls class="vds-controls" hideDelay={0}>
|
|
|
|
<media-controls-group class="vds-controls-group">
|
|
|
|
<media-controls-group class="vds-controls-group">
|
|
|
|