Skip to content

Commit

Permalink
remove seek buttons from mobile pre-playback UI
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamJaggard committed Sep 13, 2024
1 parent f6f99b3 commit 549e6a5
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions packages/mux-player/src/themes/gerwig/gerwig.html
Original file line number Diff line number Diff line change
Expand Up @@ -902,24 +902,10 @@

<template if="!audio">
<!-- Pre-playback UI -->
<!-- same for both on-demand and live -->
<div slot="centered-chrome" class="center-controls pre-playback">
<template if="streamtype == 'on-demand'">
<template if="!breakpointsm"> {{>SeekBackwardButton section="center"}} </template>
<template if="!breakpointsm"> {{>PlayButton section="center"}} </template>
<template if="breakpointsm"> {{>PrePlayButton section="center"}} </template>
<template if="!breakpointsm"> {{>SeekForwardButton section="center"}} </template>
</template>

<template if="streamtype == 'live'">
<template if="!breakpointsm">
<template if="targetlivewindow > 0"> {{>SeekBackwardButton section="center"}} </template>
</template>
<template if="!breakpointsm"> {{>PlayButton section="center"}} </template>
<template if="breakpointsm"> {{>PrePlayButton section="center"}} </template>
<template if="!breakpointsm">
<template if="targetlivewindow > 0"> {{>SeekForwardButton section="center"}} </template>
</template>
</template>
<template if="!breakpointsm">{{>PlayButton section="center"}}</template>
<template if="breakpointsm">{{>PrePlayButton section="center"}}</template>
</div>

<!-- Auotplay centered unmute button -->
Expand Down

0 comments on commit 549e6a5

Please sign in to comment.