Questions icon indicating copy to clipboard operation
Questions copied to clipboard

Expo React-native, Webview videos change randomly, im using Facebook graph api to get the videos from my facebook page.

Open BejaouiAymen opened this issue 1 year ago • 0 comments

I'm developing a React Native Expo app, and I'm using the Facebook Graph API to fetch videos from my Facebook page and stream them within the app using WebView. However, I'm encountering an issue where I sometimes receive two different versions of the videos when making the same API call. This inconsistency is causing confusion, and I can't determine the root cause.

When I fetch the videos using the Graph API and display them in a WebView, I sometimes get two different versions of the same video content. This inconsistency is not predictable, and I can't figure out why it's happening.

Every thing works as i want it to work but the end result changes randomly(how the videos gets displayed)

wa1

wa2

The first one goes into fullscreen mode when clicked and plays the videos with no additional controls , while the second one lets me change the quality and play the video in that screen without going into fullscreen mode. i like how the 2nd image behave but sometimes i get it(idk why) and sometimes i do get the first image's result. so weird...

BejaouiAymen avatar Jun 15 '24 14:06 BejaouiAymen