Jump to content


Photo

How to show buffering message in video

python

  • Please log in to reply
4 replies to this topic

#1 patelnaitik30

  • Senior Member
  • 43 posts

0
Neutral

Posted 21 October 2014 - 17:26

Hi 
Dear I want you help for some enigma2 related.
 
I am playing video using 
        sref = eServiceReference (4097, 0, watch_url)
        self.session.nav.playService(sref)
So my plugin screen became hide.
My video playing from internet. So some time due to net problem video takes time to load.So I want to show buffering message to user.How can I show? Can some one help me?.


Re: How to show buffering message in video #2 littlesat

  • PLi® Core member
  • 49,224 posts

+527
Excellent

Posted 21 October 2014 - 20:34

That is not possible at this moment.... For this code needs to be added....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: How to show buffering message in video #3 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 22 October 2014 - 12:12

Some ugly construction with a timer possibly?


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: How to show buffering message in video #4 MiLo

  • PLi® Core member
  • 13,881 posts

+290
Excellent

Posted 22 October 2014 - 12:38

Maybe monitor the video "position"? I'd expect it to remain at "0" while buffering, and to start counting once the playback is really running.
Real musicians never die - they just decompose

Re: How to show buffering message in video #5 littlesat

  • PLi® Core member
  • 49,224 posts

+527
Excellent

Posted 22 October 2014 - 14:49

Just forward the buffer status and stop displaying it once 100% is reached

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users