Comments (3)
I see. Your pull request can be opened and I will merge it.
from gsplayer.
You should not delete the suffix because it will affect other video formats such as m3u8. You can consider adding.mp4 outside of the SDK when passing in urls.
from gsplayer.
It should not affect them because the only suffix that is deleted is the one that is added. If you have a m3u8 file, it will internally become __loader__https://whatever/file.m3u8.mp4 and then only the prefix and the dummy .mp4 suffix is deleted, yielding the real url for the requests.
If I just add the .mp4 extension outside the SDK, then the SDK will not know that the real URL has no extension and will try to hit that. Unless I'm missing something. This is the kind of URL with the issue:
https://media.staticontent.com/media/documents/132420b8-b6b0-4c29-8e81-3cec4522f6f1
Can you see a way to make it work without making a change to the SDK?
from gsplayer.
Related Issues (20)
- picture in picture support HOT 1
- when app became active from background
- How to set videoURL without playing?
- how to cancel the preload url in collection view ? HOT 1
- Is there a way to cache a local file with a specified path?
- 多个视频切换播放会有闪动
- Is there any way to reinitializing playerView after call a destroy() metod?
- How to play videos s3 Bucket using URL? HOT 1
- are you available for short contract?
- Caching doesn't work on iOS 17 HOT 4
- Allow selecting alternative audio tracks
- 'copyCGImage(at:actualTime:)' is unavailable in visionOS
- Device playback issues
- preload is not working with collection view HOT 2
- How to paginate table view
- preload multiple videos
- Video playing issue when scrolling HOT 1
- Can you add the ability to disable video caching? HOT 3
- Vision OS Support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsplayer.