videoplayer plugin (beta)

  • 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:
    https://krpano.com/plugins/videop…namicattributes

    best regards,
    Klaus

  • 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,

    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:
    https://krpano.com/plugins/videop…namicattributes

    best regards,
    Klaus

  • 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:
    https://krpano.com/plugins/videop…14#onvideoready

    e.g.

    Code
    <plugin name="videowaitinfo" url="videowaitinfo.png" align="center" enabled="false" preload="true" />
    
    
    <plugin name="video" ... onvideoready="removeplugin(videowaitinfo);" />

    best regards,
    Klaus

  • 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:
    https://krpano.com/plugins/soundi…4#stopallsounds

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

    best regards,
    Klaus

  • 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!

  • 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

  • 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...

  • 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!!

  • 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.

  • 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 *wink* ... 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.

    Edited once, last by michel (April 29, 2011 at 2:34 AM).

  • Quote

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

    This is not really true *wink* ... 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).

  • 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 :

    Thanks. *smile*
    Steph

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!