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

Feature Request: Allow setting the Video Type in Player Options #147

Open
choozn opened this issue Feb 16, 2024 · 2 comments
Open

Feature Request: Allow setting the Video Type in Player Options #147

choozn opened this issue Feb 16, 2024 · 2 comments

Comments

@choozn
Copy link

choozn commented Feb 16, 2024

Request
Please add an option to directly specify the type of video when using the web player instead of inferring it from the provided url.

Which problem is this feature request solving?
There is no possibility (yet) to play streams that don't end on a file extension. I would like to directly provide the video type as an option when initializing the video player.

https://github.com/jepiqueau/capacitor-video-player/blob/879441ccecbe728f9b34e9a2692090139a04b25e/src/web-utils/videoplayer.ts#L308C13-L308C28

@choozn
Copy link
Author

choozn commented Feb 16, 2024

At the moment, this missing function can be replaced by adding an unused parameter such as ?t=.mp4 at the end of the URL.

@WardPearce
Copy link

Running into this issue too when trying to implement this plugin for Materialious on Android, what uses Invidious what doesn't have file extensions in URLs

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

No branches or pull requests

2 participants