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.
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
<krpano version="1.0.8" onstart=""> <include url="videoplayer_timebar.xml" /> <plugin name="video" ... onvideoready="do_time_bar(video,video);" ... /> </krpano> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<krpano version="1.0.8"> <include url="videoplayer_timebar.xml" /> <!-- load and control the video with the videoplayer plugin --> <plugin name="video" url="%SWFPATH%/plugins/videoplayer.swf" videourl="video360.flv" onvideoready="do_time_bar(video,null,bottom,null,70%,6,0,20,false,10);" /> <!-- define the pano image and get the pano video from the videoplayer plugin --> <image> <sphere url="plugin:video" /> </image> </krpano> |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Thank's Nupsi... Sharing is a good the way to learn from others... Sowoah...that´s a nice surprise and even in xml! In times where everybody is taking money for every little thing, it´s really nice to see that there are still people willing to share. Thanks a million![]()
Best regards,
Nupsi
Graças emediquei... I will wait your own implementationReally nice! I was just working on something similar for a project. I'll share it also once the deadline is through and I have some more time :P
I really like the recursive check_for_parents()![]()
Hi TuurHe Michel,
i have to give you a compliment for the music!!!
also for the bar offcourse
Great job!
Thanx
Tuur![]()
This post has been edited 1 times, last edit by "panomaster" (Jun 5th 2011, 11:29am)
![]() |
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 |
<krpano version="1.0.8"> <include url="videoplayer_timebar.xml" /> <!-- load and control the video with the videoplayer plugin --> <plugin name="video" url="videoplayer.swf" videourl="v360-mivideo.flv" onvideoready="do_time_bar(video,null,bottom,null,70%,6,0,20,false,10);" onclick="video.pause();" /> <!-- define the pano image and get the pano video from the videoplayer plugin --> <image> <sphere url="plugin:video" /> </image> <plugin name="full" url="stop.gif" keep="true" align="rightbottom" x="0" y="0" alpha="0.85" handcursor="true" scalechildren="true" visible="true" zorder="1" width="54" height="54" onclick="action(pause);" onhover="showtext(Pause);" /> <action name="pause"> video.pause(); </action> </krpano> |
![]() |
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 |
<krpano version="1.0.8"> <include url="videoplayer_timebar.xml" /> <!-- load and control the video with the videoplayer plugin --> <plugin name="video" url="videoplayer.swf" buffertime="4" videourl="v360-mivideo.flv" onvideoready="do_time_bar(video,null,bottom,null,70%,6,0,20,false,10);" /> <!-- define the pano image and get the pano video from the videoplayer plugin parent="video"--> <image> <sphere url="plugin:video" /> </image> <plugin name="video_pause" url="stop.gif" align="leftbottom" onhover="showtext(Pause);" onclick="plugin[video].togglepause();" visible="true" /> </krpano> |
Not as it is... But it is easy to modify the code to make it working for videoplayer as hotspot... If you need it, let me know...nice! will this work for distorted vidos?
Thank you Klausreally great work! and easy to use too!![]()
I just realized that your example it is also an xml codeI have made similar control panel using draggable plugins. You can watch them at http://ai360.pl/video360/2/......
![]() |
Source code |
33 34 35 36 37 38 39 40 41 42 |
<action name="stopdragging"> set(dragging, false); set(seekstop, get(plugin[seek].x)); dec(seekstop, 62); div(seekstop, 500); mul(seekstop, get(plugin[video].totaltime)); plugin[video].seek(get(seekstop)); count_forward(); trace(rozpoczynam od: , get(seekstop)); </action> |
This post has been edited 1 times, last edit by "michel" (Aug 23rd 2011, 12:40pm)
This post has been edited 1 times, last edit by "info@totzek.de" (Feb 1st 2012, 11:09am)