You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time the user opens the popup, display the popup content based on the status read from the current opened page.
List of possible status received from the content page:
Code
What is content status
What should show in popup
null/undefined/nothing
This is the default status code. It will return in cases when the content script is not loaded on page or the page doesn't support loading content script.
A message indicating that the script is not loaded. Please make sure that the page is valid and to refresh the page if it is a valid page.
WAITING_CREATE_ROOM
When the content script is loaded successfully but no video was selected by user and no room was created
Show two options to either create a new room or join a room. If the users creates a new room show him a message to select a video from page. If the user Selects a video from page, show him a screen with the party details and the ability to share party link.
WAITING_SELECT_VIDEO
Socket is opened but the user didn't select any video
show the user a message asking him to select a video from page. If the user Selects a video from page, show him a screen with the party details and the ability to share party link.
PARTY_SETUP_COMPLETED
Video is selected and socket is connected to party.
show user a screen with the party details wiith the ability to share party link.
The text was updated successfully, but these errors were encountered:
Every time the user opens the popup, display the popup content based on the status read from the current opened page.
List of possible status received from the content page:
It will return in cases when the
content script is not loaded on
page or the page doesn't support
loading content script.
script is not loaded. Please
make sure that the page is valid
and to refresh the page if it is a
valid page.
successfully but no video was selected
by user and no room was created
new room or join a room. If the users
creates a new room show him a message
to select a video from page. If the user
Selects a video from page, show him a
screen with the party details and the
ability to share party link.
select any video
to select a video from page. If the user
Selects a video from page, show him a
screen with the party details and the
ability to share party link.
connected to party.
wiith the ability to share party link.
The text was updated successfully, but these errors were encountered: