Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cast sender - 1st version #1

Merged
merged 28 commits into from
Sep 13, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix cast overlay display in the end of playback
  • Loading branch information
Dan Ziv committed Jul 31, 2018
commit 3fcac33c8ce1cd2c9077c3d18f55f37b087c1628
12 changes: 11 additions & 1 deletion src/cast-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ class CastUI extends RemotePlayerUI {
</Components.BottomBar>
</div>
<Components.PrePlaybackPlayOverlay player={props.player} />
<Components.CastOverlay player={props.player} />
</div>
);
}

liveUI(props: Object): any {
return (
<div className={style.playbackGuiWWrapper}>
<Components.CastOverlay player={props.player} />
<Components.KeyboardControl player={props.player} config={props.config} />
<Components.Loading player={props.player} />
<div className={style.playerGui} id="player-gui">
Expand All @@ -59,6 +59,16 @@ class CastUI extends RemotePlayerUI {
</Components.BottomBar>
</div>
<Components.PrePlaybackPlayOverlay player={props.player} />
<Components.CastOverlay player={props.player} />
</div>
);
}

idleUI(props: Object): any {
return (
<div className={style.playbackGuiWWrapper}>
<Components.Loading player={props.player} />
<Components.CastOverlay player={props.player} />
</div>
);
}
Expand Down