Skip to content

Commit

Permalink
Added full screen for appx player
Browse files Browse the repository at this point in the history
  • Loading branch information
SujithThirumalaisamy committed Dec 5, 2024
1 parent dcb5fca commit 9fd5455
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/actions/user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export const GetAppxVideoPlayerUrl = async (courseId: string, videoId: string):

const res = await axios.request(config);
const { video_player_token, video_player_url } = res.data.data;
const full_video_url = `${video_player_url}${video_player_token}&watermark=${name}%0A${email}`;
const parsed_url = new URL(video_player_url);
parsed_url.searchParams.delete('isMobile');
const full_video_url = `${parsed_url.toString()}${video_player_token}&watermark=${name}%0A${email}`;
return full_video_url;
};

0 comments on commit 9fd5455

Please sign in to comment.