support emoji reactions
This commit is contained in:
parent
1b4f0261d9
commit
2c4a1278cf
@ -39,9 +39,9 @@ export function VideoConferenceClientImpl(props: {
|
|||||||
dynacast: true,
|
dynacast: true,
|
||||||
e2ee: e2eeEnabled
|
e2ee: e2eeEnabled
|
||||||
? {
|
? {
|
||||||
keyProvider,
|
keyProvider,
|
||||||
worker,
|
worker,
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
};
|
};
|
||||||
}, [e2eeEnabled, props.codec, keyProvider, worker]);
|
}, [e2eeEnabled, props.codec, keyProvider, worker]);
|
||||||
|
|||||||
@ -111,4 +111,46 @@ h2 a {
|
|||||||
|
|
||||||
.lk-focus-layout-wrapper {
|
.lk-focus-layout-wrapper {
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Emoji Reaction Styles */
|
||||||
|
.lk-emoji-reactions {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lk-emoji-reaction {
|
||||||
|
font-size: 3rem;
|
||||||
|
animation: emojiReaction 3s ease-out forwards;
|
||||||
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes emojiReaction {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(0.5) translateY(20px);
|
||||||
|
}
|
||||||
|
|
||||||
|
20% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1.2) translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
80% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1) translateY(-10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(0.8) translateY(-20px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user