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

(Optional) Async Script #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MohammedNagdy
Copy link

Problem
Some applications load multiple JW Players in one page. This can cumbersome as it throttles the performance of the client side rendering by clogging the UI thread.

This can be displayed the image below:
Screen Shot 2024-01-07 at 10 10 26 PM

Performance stats gathered from a public website using JW Player in React (Performance-Analyzer Chrome Extension)

Solution in the PR
Adding the async attribute optionally as a prop in <JWPlayer .../> component

Looking forward to hearing suggestions from the team.

@MohammedNagdy MohammedNagdy force-pushed the feature/async-jwp-script branch from e08c32a to 5e3f026 Compare January 7, 2024 20:17
@jwplayer-robot
Copy link

Can one of the admins verify this patch?

@MohammedNagdy
Copy link
Author

Hi @smitser could you please check this PR? This will help a lot.

@smitser
Copy link
Contributor

smitser commented Apr 8, 2024

Hi @smitser could you please check this PR? This will help a lot.

Hey @MohammedNagdy , I missed this but I am no admin so I can't help you out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants