veinguo / vgplayer Goto Github PK
View Code? Open in Web Editor NEW📺 A simple iOS video player by Vein.
Home Page: https://github.com/VeinGuo/VGPlayer
License: MIT License
📺 A simple iOS video player by Vein.
Home Page: https://github.com/VeinGuo/VGPlayer
License: MIT License
test url https://www.svsmix.com/upload/20170823/1503480223454.mp4 ,模拟器Iphone6 plus 9.3 ,第一次运行,就会出现放了大约3,5秒,就没有声音了,然后暂停或者拖动进度条就恢复了。
Hi! theres a way to disable the bright and volume gestures? thank you so much
Hello ,
I like this lib very much and simple to use. But how can I replay same video when it reaches to end. I mean I want to play video in infinite loop (until user stops the video).
Hi
We are using VGPlayer in our application but some of our users constantly report they cannot see the video.
When we investigate their log files it seems that VGPlayer says "request timed out"
We also encountered the same problem, while we have poor internet connection.
But we couldnt find where to change the timeout parameter.
Can you point us to the right direction?
Thanks
when play video in landscape mode, navigation bar hides instead I show it forcefully. But not shown, will you please suggest me how will I fix this.
Hi guys,
I couldn't find anything about a loop play T T.
Hi a have a problem when a try to play a Video and a change the application on the background mode
I put the in the code but doesn't work :
self.player.backgroundMode = .proceed
this only happen in the iOS. 11 in the others version work fine
I'm using your VG vertical example and iOS 11.2
Which of formats are now available for streaming or play locally i.e. mov, mpeg etc?
I saw your demo it is outstanding but i only see link with mp4 files.
sometimes this video has no sound ,but drag the progress ,the sound has again.
when embeded in cell of tableView, after entering fullscreen and exit from fullscreen, the player don't add to cell and imbeded in main screen.
I am using "PHFComposeBarView" a third party liberary in my chat app, but after integrating this in my app. my compose bar doesn't responding paste options. Only compose bar didn't works fine but in other screens in textview or textfield paste board working.
Please suggest me how would I fix this.
It would be nice to have the possibility to control whether you want the user to change the volume and brightness of the screen with a pan gesture or not.
The 0.2.0 release crashed on carthage. Attaching build logs for reference. But I think there's some issue with the framework build. I'll see if I can debug and submit a PR.
It would be nice to have the possibility to allow or disallow the automatic fullscreen mode.
what is the specific use of hit test in uibutton extension. in VGPlayer classes. Because it creates some issue in my project can i remove this extension. and video not playing automatically in ios9 or lower versions.
Hi, Can we use it for commercial purpose like in our app? Kindly let me know if this player is free to use.
Thanks,
Regards,
Amir
I have a lot of cancellation. And sometimes part of video doesn't have a sound. Can this be a reason of sound issue?
Task .<1> finished with error - code: -999
Task <2F32469D-BFF1-47EE-AAC5-890CB30729BF>.<1> finished with error - code: -999
Task .<1> HTTP load failed (error code: -999 [1:89])
Task .<1> finished with error - code: -999
startPlayerBuffering
Task <4D377D81-8267-4DCC-88F7-543214EC517F>.<8> finished with error - code: -1001
Task .<1> finished with error - code: -999
Task .<1> finished with error - code: -999
@VeinGuo I'm going to implement offline video feature in app. I found that the library VGPlayer caches the video automatically. So here are some questions about video caching in this library.
It would be helpful for me if you explain about how your cache manager is working.
Any response is appreciated.
Thanks!
I think many users need button "Lock screen" to lock orientation for watching movie, to keep orientation compatible with them.
Will you think about this problem?
In my project i don't want to install pod file, can you please suggest me how to use this video player in my project. I used by my self but getting error like VGPlayer and SnapKit framework not found.
03:22:11.389 ERROR: 849: AudioQueue: request to trim 2112 + 0 = 2112 frames from buffer containing 1024 frames
but drag the progress ,the sound has again
Hi,
I have assigned one of the video HLS URL. it does play/pause and full screen button also working but I am not able to scrub. Seems like the radio button is disabled as its not taking up the touches. But it works for other sample urls which were already there in the project. What could be wrong.
thanks.
I always get an error in originalURL "fatal error: unexpectedly found nil while unwrapping an Optional value" I debug code many times. I pass URL value to replaceVideo function but it didn't play my video. application crashes and gives me an error that I mentioned previously.
I attached screenshot so you can understand my problem better and give me appropriate solution.
Hi , I'm getting this error in example when i click embed in cell of tableView
Hey, I want a watermark on left bottom side on player or video. Is there any possibility so I can add watermark on left bottom side on the player?
Hello, I'm writing here in order to let you know that I'm experiencing some problems with video playing in iOS 9. (iOS 9.3.5 actually)
When I choose to play, it just shows black screen. No spinning circle. When I select play button, nothing happens.
In debug window, I found the following logcat. Not sure if it was from this library.
Communications error: <OS_xpc_error: <error: 0x1075c7b40> { count = 1, contents =
"XPCErrorDescription" => <string: 0x1075c7ef0> { length = 22, contents = "Connection interrupted" }
}>
And sometimes the video has started but stopped in the middle. For example, it stopped at 00:11. It's supposed to show spinning circle if it's buffering but it doesn't show.
The issue happened on my iPad which has installed iOS 9.3.5. I've tried on iOS 9.3 simulator and found the same issue. It happens barely on simulator than iPad.
So there are two issues
I'm wondering if this is related with cache. Here are some questions.
If video playing issue is related with cache management, what should I do to properly manage caches?
I appreciate your patience for reading my report. Please let me know if you have got some explanations.
Thanks!
can you add custom view option in the player view(ie like to add ads)and also next and previous button
rt
The videos play fine in all the simulators and at least on iPhone 6/7/7+ but never plays on the iPhone 5
I see that media caching might be on the roadmap. I'm curious what approach you might have in mind, as I might be able to contribute with a pull request.
rt
Hello!
Do you have an object-c version?
2018-02-13 00:04:31.420317+0800 wuka[3186:128761] Task .<1> finished with error - code: -999
Hi, Please explain to me the way to download video directly to the cache without playing with VGPlayer. Problem is you don't use comments so it's pretty hard to understand your code. Could you add any explaining about how the cache is managed under the hood and how to manage cached videos directly not only "cleanAllCache()".
Does it have HLS support?
Can we have this on the roadmap for feature implementations?
[AVOutputContext] WARNING: AVF context unavailable for MRAVOutputContextCreateIndependentRoutingContext
is there any way I can customize this player as in, adding logo, showing subtitles etc. Kindly let me know. thinking to use it in our current app.
Thanks,
Amir
How to autoplay video when playing video in tableview?
Hi VeinGuo, Thanks for this wonderful library. I just wonder what kind of url i can pass into the view? cause i tried the one in dropbox and seems like it is not working, So i am unsure what happen if i get from Azure storage for example. Would that still be ok? I am still new to this stuffs so i am not too sure what to ask. If my words are not really understandable, i will explain more.
Hi! I can't get the player to full screen. Any ideas? The example app is working, but once copied your exampel code 1:1 into my application it just not going into orientation:landscaperight. Any ideas?
hii
I am impatient this player according to a custom player but rate functionality is not working with this can you help me, guys.
thanks
I used your lib in my project and it has some bugs:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.