React native video delay after every scroll in swiper component - android

I am developing react native app. We have tab like youtube shorts. We are using a Google cloud storage. The issue is in my short videos screen. Before starting the video white screen showing and images also loading slowly. Delay time is 3 to 4 seconds. How can I achieve to play videos like youtube shorts without delay after every video scrolling.
Thank you in advance. Means a lot.

Related

Can we play 2 videos at the same time

I can able to open two application at a time using multi window free from.
But I trying to play videos at a time in both application,but its not happening.
Can we play two videos at time.
in the s905x data sheet I have seen that it supports multi decoding sessions...
I got solution for this, using nuplayer we can play number online streaming videos at a time.

How to play a youtube video in side-by-side view on Android WebView

I'm trying to make an Android App and I need help.
Do you have any idea how to play a online video (like a video on Youtube) in side-by-side view at the very same time by using Android WebView?
so, when I watch a Youtube video, I want to be able to have two views on left and right side on My Android SmartPhone Screen, and play and control the same video both on left and right views at the very same time.
Regards.
----2nd Feb, edited----
following things I've tried and failed.
・using Youtube API, get 3gp address, and try to play it with VideoView
・Using draw method and getDrawingCache method of WebView
・using onShowCustomView of WebView
Look at using a html5 video player like Video.js or Sublime Video. You will need to create some javascript with each of these that fires the left and right video at the same time.
You can also look at what this guys did for some more inspiration.
http://html5demos.com/two-videos
The trick is getting the videos to fire at the same time if you need them in sync. It's not easy to achieve if you don't control the source video and server as you are relying on an outside party to do this. YouTube is NOT a good choice for serving your videos if you need them to be in sync as you can't guarantee the video load and launch times, or control if an ad will get injected into the video stream.

Play multiple video with Open Gl Es 2.0 android

I need to play multiple video on screen using Open Gl ES 2.0 in Android. I have the code of playing a single video. For playing 3 videos I have used three 3 views with 3 videos. However there are issues related to performance when playing 3 videos (there is flickering on the screen at times or video stuck issue). So I wanted to know if there is better way of playing multiple video using Open Gl
When I played those 3 video using VideoView without using Open Gl, they are playing fluently. Even with 4 videos it worked well.
https://code.google.com/p/android/issues/detail?id=36742
I have solved the issued from the above link. It says why the flickering of video occurs when displaying a video with texture view.
Thanks all.

Google Glass streaming video refresh rate

I am developing a Google Glass application.
One of the things I want to do is to stream a video (RTSP) to a google glass activity.
I wrote a program that does that based on this guide - http://code.tutsplus.com/tutorials/streaming-video-in-android-apps--cms-19888
And it works!
The only problem i have is that it takes a few seconds for each update of the video to appear on the glass.. What am I doing wrong?
The only idea I have is to use a LiveCard and render the image there. Maybe LiveCard should work faster? any thoughts?
Thanks!

Vimeo-like Video Player - Android

How to develop a Vimeo-like Media player on Android?
What I like about Vimeo is
their translucent Play, Pause, Scrollbar shown only when needed i.e. on Mouseover - which ensure that the full screen size is occupied by the video.
Any links, tutorials greatly appreciated.
Thanks.

Categories

Resources