Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-20 von insgesamt 21.

Freitag, 27. April 2018, 03:29

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

...I think I found a completely new, simpler solution ! I do want people's opinion on this? It looks a bit like hacking, but both flash and html5 seem to work with this. The Xml pano test-highresframe2.xml : Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 <?xml version="1.0" encoding="UTF-8"?> <krpano version="1.18" bgcolor="0x000000" onstart=" set( ui_plugin_video , get(plugin[video])); if(ui_plugin_video.ispaused, set(layer[ button_play ].crop, '0|0|64|64'); , set(layer[ but...

Freitag, 27. April 2018, 03:05

Forenbeitrag von: »florian_mrt«

loading highres frames dynamically WITHOUT losing video scene

Ok, so further from my example above. As one can see, there are two scenes: scene-video and scene-highresframeimage. Switching between the two works, without the video reloading. This is very nice so far. I now need to make the image.sphere.url load an on-demand frame image. The image url is provided externally, via the webpage JS. From a previous thread, the action script call: Quellcode 1 2 3 4 5 <action name="ui_loadhighres"> set(ui_vars_file_highresframe, %1); txtadd(highresframedyna, 'image...

Donnerstag, 26. April 2018, 23:26

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

My problem here was: - How to keep the UI intact (eg. when highres frames are loaded, the UI doesnt change) - How to keep the UI visible even during a scene change between video and highres frame - What ideal structure is needed for video and highres frames - How to switch between these two scenes The following seems to come very close to what I want, and I will share it here, so others may find this useful. It creates two scenes. Initially, it loads one of them. Note that the video plugin is ke...

Donnerstag, 26. April 2018, 14:52

Forenbeitrag von: »florian_mrt«

Dispatching events from within XML to the webpage JS

Hello Klaus, This works and meets my intention, but only in Html5 mode ! Your alert is not displayed when using Flash. Also, it does not allow multiple listening functions, eg: Quellcode 1 2 3 4 5 6 7 8 krpano.set("events.my_custom_event_when_something_is_done", function() { alert("FIRST something was done inside the krpano player !"); }); krpano.set("events.my_custom_event_when_something_is_done", function() { alert("SECOND something was done inside the krpano player !"); }); ...only the SECOND...

Mittwoch, 18. April 2018, 19:55

Forenbeitrag von: »florian_mrt«

Dispatching events from within XML to the webpage JS

I would like to do something like: $(krpano).on("my-custom-event-when-something-is-done", function(event) { alert("something was done inside the krpano player !"); }); ...and inside the krpano xml, have something somewhere events.trigger("my-custom-event-when-something-is-done"); ...and even better with custom data. In otherwords, I want to trigger a custom event inside the player, which will be received/listened to outside the krpano xml. This would be useful if a specific button/hotspot was cl...

Mittwoch, 18. April 2018, 19:46

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

Without much viewing in detail, it seems possible to: - put the video plugin and image sphere in one scene - put an image sphere in a second scene - put a hotspot in each scene to loadscene() the other scene (like a button to go back and forth) - put a loadscene() call in the krpano root onstart attribute to load the first scene - put a keep="true" attribute in plugin, image and sphere When playing the video, the video keeps on playing even when switching between the scenes..! This indicates tha...

Donnerstag, 12. April 2018, 22:45

Forenbeitrag von: »florian_mrt«

Dispatching events from within XML to the webpage JS

Is it possible to call dispatch events to the webpage, from within the krpano xml file? I am looking to dispatch eg. en event on the krpano object (that has been provided from embedpano/onready), with custom data, from within the loaded xml data. The alternative currently working method, is to use js() within xml and use an event dispatcher proxy object on a global scope variable. This is not ideal, and gets complicated if an unknown number of krpano players are set. Is it possible to dispatch e...

Montag, 5. März 2018, 21:41

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

An Idea: Is it possible to get a hotspot to fully envelope the perspective? Something like width from -180deg to +180deg horizontal, and vertical -90deg to +90deg?

Montag, 5. März 2018, 11:41

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

Zitat von »jeromebg« Hi, you could store the current video time, load a new scene with the high res frame and when going back load the video scene and seek it to the stored time. That is exactly what I DONT want to do. When someone presses the pause button, it is acceptable and expected that loading the frame takes some time. But when resuming to play the video, it is expected that the video is already loaded, already seeked to the paused time, and playing should be instantly. Unloading and rel...

Montag, 5. März 2018, 02:09

Forenbeitrag von: »florian_mrt«

LowRes Video With HighRes Single Frames

I have krPano setup that plays 360 videos, who generally are lowres to allow for bandwidth over Mobile. I also have frames every 5secs at very highres. I now want to change my krPano player, that every time the player pauses, a loading bar is displayed, the nearest highres frame is loaded, and when loaded, displayed. Whenever the play butten is played again, the krPano switches immediately back to the video (and removes the highres frame from memory), and plays the video again. I looked at the s...

Dienstag, 24. Oktober 2017, 23:44

Forenbeitrag von: »florian_mrt«

External media files

Hello all, This seems like a trivial matter, but it is bugging me now several workdays, and I just cant figure it out ! Am I overlooking something? I need a third person to look at my issue... This is because my client is hosting the player on a cloud server, and the media files are hosted on a CDN. I have the following basic XML doc: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 <krpano version="1.18" bgcolor="0x000000"> <view hlookat="0" vlookat="0" fovtype="MFOV" maxpixelzoom="1.0" limitview="fullr...

Mittwoch, 21. Juni 2017, 14:13

Forenbeitrag von: »florian_mrt«

Polylines ZOrder behind Hotspots

I responded my solution in that thread, in case it adds. Thank you for this pointer.

Mittwoch, 21. Juni 2017, 14:12

Forenbeitrag von: »florian_mrt«

zorder of hotspot vs poly hotspot

Just to respond and close my own question related to this, in the hope it will help others. https://krpano.com/forum/wbb/index.php?p…71658#post71658 I use Javascript on my hotspots, so I did: Quellcode 1 2 3 4 5 objKrPano.call("set(hotspot["+strID+"-click].url,"+strImageOutUrl+"); "+ //projects/Factory/Content/Texture/360 Still Click.png); "+ "set(hotspot["+strID+"-click].renderer, css3d); "+ "set(hotspot["+strID+"-click].ath,"+fltAngle+"); "+ //45); "+ "set(hotspot["+strID+"-click].atv,"+fltPit...

Sonntag, 18. Juni 2017, 00:04

Forenbeitrag von: »florian_mrt«

Polylines ZOrder behind Hotspots

Hi all! I am trying to add a hotspot PNG image IN FRONT OF a hotspot-polyline. Is this possible? I have been trying changing Z-Order, changing the creation order, etc... but to no avail ! Investigating this a bit further, it seems that polylines are SVG rendereings ON TOP OF the krpano player. Is this why I can't change placing the hotspot polylines behind a hotspot image? My JS code for reference: Quellcode 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 3...

Mittwoch, 7. September 2016, 11:53

Forenbeitrag von: »florian_mrt«

A more progressive Loading Bar for HTML5

Ok, got it. A further question here about my code above. I can see that, for the flash version, there is already a loading bar displaying when the scene changes. I would like to remove it (and place it with my own styled loading bar). OR, I would like to know when the built-in loading bar is displaying, so that I dont display mine. How can I do that?

Dienstag, 6. September 2016, 14:44

Forenbeitrag von: »florian_mrt«

A more progressive Loading Bar for HTML5

Hello all, I am trying to implement a loading bar for single spherical images. These images tend to be large (+-3MB), so downloading on a phone would take some time. I can show a spinner, to indicate that 'something' is downloading or busy, but it would be perfect if there was a progression bar showing 'how much' has already been downloaded. In my research, I found out that the flash version of krPano shows a progressive download bar, whereas the HTML does not. See the difference in both example...

Dienstag, 14. Juni 2016, 08:09

Forenbeitrag von: »florian_mrt«

Spherical Videos with HighRes Spherical Frames

Hello all, I have setup a XML file with two scenes, and the switching is fine now. I need to determine which frame number I am currently at from the Video plugin. How do I do that? I can find out the time (plugin[video].time), but I see nowhere a current frame number that I can use. I also thought of perhaps dividing the time by FPS of the Video, but I cant find the framerate attribute, if there is any? Am I missing something? Anyone ? Florian

Donnerstag, 9. Juni 2016, 00:23

Forenbeitrag von: »florian_mrt«

Create a SPHERE MultiRes Still Pano

Zitat von »klaus.krpano« Simply too much work and too few time, so the features and the work need to be prioritized. Is sponsoring a feature for early prioritization generally possible (haven't asked the client yet) ?

Dienstag, 7. Juni 2016, 18:46

Forenbeitrag von: »florian_mrt«

Spherical Videos with HighRes Spherical Frames

Hello all, My current krPano plays spherical videos using the Video plugin, without any problem. I also have a folder with images, each representing one of the frames inside the spherical video. These images are very large (4K+ width). The idea now is to play the video in krPano (no problems currently), and whenever the user pauses the video, a loading bar appears that is loading the spherical image corresponding to the current frame of the video. When the image is loaded, krPano should tween to...

Montag, 6. Juni 2016, 14:13

Forenbeitrag von: »florian_mrt«

Thanks

Dear Klaus, Thanks, this info and example will help tremendously ! I can solve my project onwards using this information. In my project's specific case, the client had the entire project in flash, and now wants to fully steer towards html5+WebGl, for support of other devices without flash. Again, I am aware that cubical panos are better performance etc for multires panos. However, is it planned that support for multires spherical panos will be ported to Html/WebGl in the future? What is the tech...