Skip to content

Commit

Permalink
Merge pull request #1609 from SujithThirumalaisamy/main
Browse files Browse the repository at this point in the history
Added full screen for appx player
  • Loading branch information
hkirat authored Dec 5, 2024
2 parents dcb5fca + 9fd5455 commit 330879e
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 330879e

Please sign in to comment.