abbasfreestyle / react-native-af-video-player

MIT License
381 stars 289 forks source link

Can't play videos from Cloudfront Amazon S3 #98

Open davekedar opened 5 years ago

davekedar commented 5 years ago

I am using this library in my React Native project, I can play videos from Cloud front which are not encoded, but the videos which are encoded can't be played.

Any one have any idea about it?

url for the encoded video is like : https://d3codsxyyh2kcu.cloudfront.net/https?Expires=1547218475&Signature=MqxFm4cvR2IYfruCKEaM9JvaFDa7a-0ipdhK9QLxiRFIDcc1jHgvrpNLaPdId1nK5EXJND9hIGnAZvevdRhkA9Uocmd-I3QRdPNumv2BCuSBARgiMcu~lnwgQ24G9r1uO~ZlQ5CDhPTyJYFqC8DyFuzbGnHrTRfMTfPYIUZSi5lvk22oXGDOqARra~-KoAKk-vPXAxxUo1BjCXw3V06t6JNxCCrhaGiS3~OaRc28wGSRacm7F5A9rf~eEWSUWQ~17lUC-Jm6jnWAI9zqSqtyIk4ladboX7FNFi8N12wq39KWinYqvhMNkJcmxy1lGLCgEbabndfJc~yez7c2d17~Rw__&Key-Pair-Id=my_key_id

and url for non-encoded video is like: https://s3.eu-west-2.amazonaws.com/qualpros-bucket/courses/2-advanced-business-analysis-for-acca/lesson_video/1516651204-acca-p4-q1b-cmc-swap-hedge-michael.mp4

please help

P.S. I understand that I am putting large url but I think for the question, it is needed

nguyenvanphuc2203 commented 5 years ago

same issue, any solution ?

dhamnesh commented 5 years ago

I am also facing issues on Android but it working fine on iOS. Any idea how to resolve the issue as I have the final app release on Saturday?

Please help