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

update video extenstions to accept media fragments for time #1213

Merged
merged 2 commits into from
Oct 26, 2021

Conversation

dednal
Copy link
Contributor

@dednal dednal commented Apr 16, 2021

Add support for supplying urls that contain media fragments for time
https://www.w3.org/TR/media-frags/#naming-time

example:
https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4#t=5
the video will start playing at 5 seconds

Currently if you directly import the file player if won't load these types of urls
you can get around this by using the lazy import and it will fallback to the file player.

This change will allow for the direct import of react-player/file

@cookpete
Copy link
Owner

Nice!

@cookpete cookpete merged commit 8400767 into cookpete:master Oct 26, 2021
@cookpete
Copy link
Owner

Published in 2.10.0

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.

None yet

2 participants