Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Montag, 13. Juli 2009, 19:18

Videoplayer: still image? preview? progress bar?

Hello,

I have some buttons the user can select/deselect and then the videoplayer will be dynamic included with the parameters videourl, width, height

Quellcode

1
2
3
4
5
6
7
8
9
10
<action name="videoon">
addplugin(video);  
set(plugin[video].align,center); 
set(plugin[video].loop,false);
set(plugin[video].zorder,0);
set(plugin[video].videourl,%1);
set(plugin[video].url,%SWFPATH%/plugins/videoplayer.swf);
set(plugin[video].width,%2); set(plugin[video].height,%3);
set(plugin[video].onclick,togglepause());
</action>


Works off line very well. The greatest test-video has a document size of more than 5 mb. On the server the user see nothing during loading the video.

The soundplayer-plugin has the attribute preloadsound(xxx)

I'm looking for a similar solution:

either when the main panorama ist loaded and also the videoplayer-plugin self then they should be a preload-action for the video files.

or after the onclick-event on one of the button the user should see
- a still image (or the the first frame of the video)
- the progress bar

I tried to add the two set-commands in the code above, but it don't seems to work.
set(progress.showload,bar);
set(progress.showwait,loopings);

Any ideas?

Thanks Karl

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Karl« (15. Juli 2009, 00:14)


2

Mittwoch, 15. Juli 2009, 14:25

Hi,
Works off line very well. The greatest test-video has a document size of more than 5 mb. On the server the user see nothing during loading the video.
hmm, maybe that is a server problem, normally videos are streamed...

do you know what server?
maybe the gzip-compression was not disabled for .flv files...


Zitat

I tried to add the two set-commands in the code above, but it don't seems to work.
set(progress.showload,bar);
set(progress.showwait,loopings);
that should work normally,


do you have a link to the example?

best regards,
Klaus

3

Freitag, 17. Juli 2009, 11:37

Hi Klaus,

Zitat

hmm, maybe that is a server problem, normally videos are streamed...

do you know what server?
maybe the gzip-compression was not disabled for .flv files...
in the moment it's not possible for me to get an answer about the server compression settings.

I asked some friends to try it from far away with different results:
- no time between buttonclick and the beginn of the video
- the video will be long in coming

You can try the beta by yourself
http://www.burg-halle.de/~schikora/03101…pano/index.html

Additional information (in german)
http://www.burg-halle.de/~schikora/031010/

Next question: it is a flat-pano with fov="1". Do you have any ideas how to show the pano at the beginning with the overall width (lenght over buffers of the steam engine) an not with the overall height? In the final release of 1.0.8?

Thanks Karl

4

Sonntag, 19. Juli 2009, 13:57

Hi,

in my test:
the 5269kb/s videos needs 1-2 seconds before the videos appears,
the 2644kb/s video is here intermediately,
the 3526kb/s video too,
(all test when the loading of the pano itself was already done)
Next question: it is a flat-pano with fov="1". Do you have any ideas how to show the pano at the beginning with the overall width (lenght over buffers of the steam engine) an not with the overall height? In the final release of 1.0.8?
at the moment, this can be only done manually via setting the viewing range,
e.g.

Quellcode

1
<view limitview="range" hlookatmin="-0.5" hlookatmax="-0.5" vlookatmin="-0.4" vlookatmax="+0.4" />


here is a direct link to your example with these settings:
http://www.burg-halle.de/~schikora/03101….vlookatmax=0.4

the next release will have an automatic mode for that,

best regards,
Klaus

5

Dienstag, 21. Juli 2009, 15:28

Hi Klaus,

thank you for the tests an the solution to display the overall width of the pano.

Karl