You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

41

Wednesday, April 13th 2011, 9:46pm

Is this what you are after?

http://krpano.com/docu/xml/#progress.showwait

I'll admit I have not looked at your example( i'm on an iPhone ). I don't know how the showwait works with the video player though.

42

Wednesday, April 13th 2011, 10:05pm

Hi,
I've learned a ton in the past 24 hours, I've even included some features that I've stumbled upon by accident *smile* but I still cannot figure out how to add the progress/buffering ring. I'm assuming it's embedded in the krpano.swf file? How do you call it? I've tried <progress showload="yes" /> but that did not work.
the "progress" settings are only used when panoramic image will be loaded,
but the video in the current version is loaded by the videoplayer plugin so the progress settings have no effect on it,

see here for the available informations in the videoplayer plugin:
http://krpano.com/plugins/videoplayer/?v…namicattributes

best regards,
Klaus

43

Wednesday, April 13th 2011, 11:41pm

Thanks Klaus. I'm still a bit confused because the "progress" status works fine in this 360 video while it's loading: http://www.edmontonjournal.com/sports/story.html?id=4227720

Hi,
I've learned a ton in the past 24 hours, I've even included some features that I've stumbled upon by accident *smile* but I still cannot figure out how to add the progress/buffering ring. I'm assuming it's embedded in the krpano.swf file? How do you call it? I've tried <progress showload="yes" /> but that did not work.
the "progress" settings are only used when panoramic image will be loaded,
but the video in the current version is loaded by the videoplayer plugin so the progress settings have no effect on it,

see here for the available informations in the videoplayer plugin:
http://krpano.com/plugins/videoplayer/?v…namicattributes

best regards,
Klaus

44

Thursday, April 14th 2011, 11:29am

Hi Klaus

Have a trouble with videoplayer, when I stop sound (stopallsounds();) of soundinterface for music, the video stop ?!

If you stop sound music and leave the pano, if you come back the video begin to work and stop few time after ?!

This post has been edited 1 times, last edit by "Job.1" (Apr 14th 2011, 3:15pm)


45

Thursday, April 14th 2011, 3:18pm

Hi,
Thanks Klaus. I'm still a bit confused because the "progress" status works fine in this 360 video while it's loading: http://www.edmontonjournal.com/sports/story.html?id=4227720
there a much older krpano version was used, this was one of first test versions with video,
the progress animations there was shown until the first frame was ready,

but now the video is played via the videoplayer plugin to have more control over it,

to get something similar you could include and show a flash animation (a .swf file) or normal image (jpg,png) as loading animation or loading information and use the "onvideoready" event to hide that when the video is ready,

see:
http://krpano.com/plugins/videoplayer/?v…14#onvideoready

e.g.

Source code

1
2
3
<plugin name="videowaitinfo" url="videowaitinfo.png" align="center" enabled="false" preload="true" />

<plugin name="video" ... onvideoready="removeplugin(videowaitinfo);" />


best regards,
Klaus

46

Thursday, April 14th 2011, 3:19pm

Hi,
Have a trouble with videoplayer, when I stop sound (stopallsounds();) of soundinterface for music, the video stop ?!

If you stop sound music and leave the pano, if you come back the video begin to work and stop few time after ?!
do you have an online example?

best regards,
Klaus

47

Thursday, April 14th 2011, 3:25pm

Hi Klaus thank's for reply

check you PM box I can't share the link here *cry*

48

Friday, April 15th 2011, 10:10am

Hi Klaus,

have you check your PM box ?

49

Friday, April 15th 2011, 11:08am

Really strange, I have to put an old version of soundinterface and now working well *confused* *confused*

The old version is 1.0.8.12 (build 2010-11-24)

This post has been edited 1 times, last edit by "Job.1" (Apr 15th 2011, 11:26am)


50

Sunday, April 17th 2011, 10:21am

Hi,

you means when you call stopallsounds() then also the video stops?
and this only when using 1.0.8.14 soundinterface?

...this is very strange... the 1.0.8.14 soundinterface plugin stops only the sounds from the soundinterface plugin itself by default,

see here:
http://krpano.com/plugins/soundinterface…4#stopallsounds

only when calling "stopallsounds(true)" then all flash sounds should be stopped (maybe with an effect to the video...),

best regards,
Klaus

51

Wednesday, April 27th 2011, 12:12pm

Ok guys all of your help has been greatly appreciated and have allowed me to produce an almost perfect production. I've been hard at work fine tuning things but before I share with you all I need help with one last addition. I would like to add a progress download bar to the videoplayer showing the % downloaded if possible as seen here in this 360 video produced by Greg Downing: http://www.xrez.com/cw_video_pano/
Can anyone assist?

Thanks!

52

Thursday, April 28th 2011, 6:50am

Any help? obviously it's not impossible because it has been done using KRpano. For video 360 this is a must have because of file size...what use is the video player plugin if you're not able to show viewers the download progress?? Dare I even request the ability to scrub

53

Thursday, April 28th 2011, 9:34am

The current videoplayer plugin (beta) does not provide information about how much of the video has been downloaded.

For a client I have written a new videoplayer plugin, and a seekbar plugin which shows the download progress and lets you "scrub" the video that has been downloaded. However, this was a paid assignment, and it would not be very ethical to give that work away for free (or cheaply) now. I could however reimplement the changes from scratch...

Tuur

Master

Posts: 2,200

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

54

Thursday, April 28th 2011, 11:36am

Please do ! 'Do
Tuur *thumbsup*

55

Thursday, April 28th 2011, 2:43pm

Ben, I bow to you. I am extremely happy that someone understands my exact needs. I only wish I was as talented as you to implement my own solution. As I stated before, this is something that needs to be a standard feature of any video player.

I myself and many many others would appreciate if you could reimplement the changes...this would be incredibly amazing!!

56

Thursday, April 28th 2011, 7:22pm

I may not be able to so this entirely for free. Like I said, I've done it before for a paying client and would feel a little uncomfortable doing it again and handing it out for free. I would love to be able to just release all plugins I make as open source, but sometimes I need money too.

See this thread:
Plugin requests

PS: My name is Aldo (last name: Hoeben). Ben is my nephew.

57

Thursday, April 28th 2011, 8:20pm

My needs are not much, You've already created exactly what I require...how much $ for this plugin?

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

58

Friday, April 29th 2011, 1:23am

Hi Aldo,
The current videoplayer plugin (beta) does not provide information about how much of the video has been downloaded.
This is not really true ;-) ... There is already the time and totaltime variables for this... There is also a seek() action... So, an interface like the one on Youtube for example should be possible to do using xml *rolleyes* ...
For a client I have written a new videoplayer plugin, and a seekbar plugin which shows the download progress and lets you "scrub" the video that has been downloaded. However, this was a paid assignment, and it would not be very ethical to give that work away for free (or cheaply) now. I could however reimplement the changes from scratch...
It would be great if you do it.... but be aware that probably Klaus is already doing it for the next Krpano version (1.0.8.14) ( see reference here )... The only doubt is if it is an swf interface or an xml one....

SAlut.

This post has been edited 1 times, last edit by "michel" (Apr 29th 2011, 2:34am)


59

Friday, April 29th 2011, 9:13am

Quoted

> The current videoplayer plugin (beta) does not provide information about how much of the video has been downloaded.

This is not really true ;-) ... There is already the time and totaltime variables for this...


Is that actually true? AFAIK, totaltime gets set once to the full length of the video. The data I was talking about is bytesLoaded and bytesTotal. If one had the source of the videoplayer plugin, this would be fairly trivial to add, but without it you have to create a new videoplayer from scratch (if you want to be able to show how much of the video has been downloaded, and how far in the video you can seek).

esys

Intermediate

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

60

Friday, April 29th 2011, 3:22pm

Hi Aoheben,

What about your new video plugin seekbar ?

I'm interesting too. Do i have to do the donation first ?

By the way, it's not possible to call a playvideo action via an other hotspot than the videospot itself ?

like this :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	<hotspot name="txt_doc_2" 
			 url="%SWFPATH%/plugins/doc_2.png"
			 keep="true"
			 visible="true"
	         ath="214.66" atv="-21.98"
	         edge="center"	         
			 scale="1.0"
			 distorted="true"
			 onover=""
			 onclick="lookto(214.92,-13.25,11,linear(65)); playvideo(%SWFPATH%/video/doc.flv);"
			 devices="all"
			 />	

	<hotspot name="videospot2" 
			 url="%SWFPATH%/plugins/videoplayer.swf" 
			 videourl="%SWFPATH%/video/doc.flv"
			 visible="true"
			 distorted="true"
	         ath="214.88708036449693" atv="-13.363829675500895"
			 edge="center"
			 scale="0.152"
			 rx="0"
			 ry="-4"
			 rz="0.5"
			 loop="false"
			 pausedonstart="false"
			 onloaded="togglepause();"
			 directionalsound="true"
        	 range="90.0"
         	 rangefalloff="1.0"
         	 outofrangevolume="0.2"
			 volume="0.7"
			 onhover="if(ispaused, showtext(click to play, videohoverstyle), showtext(click to pause, videohoverstyle));"
			 onclick="togglepause(); lookto(214.92,-13.25,11,linear(15));"
			 />	


Thanks. *smile*
Steph
Steph