Suchergebnisse
Suchergebnisse 1-20 von insgesamt 37.
HI, When I try to include another xml file in a directory in the previous directory, I get a fatal error or loading failed. Quellcode 1 <include url="../custom/custom.xml" /> How can I achieve this? Note, I'm testing this locally (offline) on my Mac. Thanks! -Joe
I'm building a pano that has 3 sources for live video streams in which the user can choose to watch. What xml setup is the best to give the user a seamless transition to changing the source? What I mean by seamless is to NOT have a pause in playback when they switch cameras? I'm aware loading and buffering causes a delay, so showing a spinner while the current stream plays and when the next stream is ready hides the spinner and displays the new stream. Should I handle this with <scene>s? Xml exa...
How can I show the poster first before playing/rendering the video? If not possible, can I show the preview pano before showing the video? Thanks!
Zitat von »panomaster« I know textfields and nested structures doesn't work as VR sports. That's why I wanted to watch working example :-) Ahhh, i see now. So I guess I either handle this in pure javascript or simply swap out and resize. I successfully tested swapping out the hotspot url for the content and sizing it accordingly. Works. Now back to the goal at hand. Onrollout event... I tested onmouseout, mouseout, onmouseleave, and mouseleave. Nothing. Then I thought why rule anything out when...
Wow OK, maybe this is what @Umalo was getting at, but I was able to run a test on adding <layer>s to hotspots but when VR mode is enabled it causes all the hotspots to disappear :( Looks like I may have to swap image with the hotspot for this to work, if adding layers wont.
Zitat von »panomaster« Any online example? Sorry, nothing yet, it's an iOS App and I have been developing it locally. I actually haven't even tested the hotspots in VR, currently I've been testing it regularly with mouse clicks. Zitat von »Umalo« textfield is not working in VR (not yet) What!? Does that mean I will have to use images only for the text overlay layers?? I really should have started testing this in VR... Thanks!
Hi, Currently I'm using the WebVR cursor to click hotspots which display a textfield layer within the hotspot (parent). Works like a charm. What I'm trying to accomplish now is a method of hiding the textfield layer once the cursor rolls off of the hotspot/textfield. Another words, hide hotspot's text on rollout. I've attempted saving and checking (onviewchanged) the opened hotspot's spheretoscreen coords and hiding the hotspot text when the hotspost corrds have apdated to certain distance. But ...
Zitat von »klaus.krpano« That doesn't work - the browser itself knows where the event is coming from - and calling video play is only allowed in direct consequence of an user event. K thanks, I'll try some other way
Zitat von »klaus.krpano« Hi, the workaround itself is basically simple: - the viewer wait for touch events anywhere on the page (capture-phase 'touchstart/touchend' event listeners on the document) - and when getting them, the viewer tries to start playing the video, - when staring to play had worked, then these event listeners will be removed. That's it... Best regards, Klaus I see. Most likely document.click -> iframeContentWindow.postMessage -> iFrameContentWindow.events.message -> krpano.ca...
Zitat von »klaus.krpano« Hi, forwarding or synthesizing an event doesn't work - only REAL users events would work. That's are core (security-)limitations of mobile devices and they are designed to be not bypass-able. Best regards, Klaus I thought that the workaround was to pass the touch event to the video element so that the video will play no matter where they click if set to auto play on iOS. Seems that your saying that passing events isn't possible and this workaround functions in a differe...
To my understanding the touchworkarounds works to pass any screen touch to the videoplayer to begin playing on iOS. The ad I'm developing opens a pano in an iFrame when the user touches the screen, but this touch doesn't pass to the pano's iFrame to trigger the touchworkaround. Not being able to see the source code of touchworkaround makes it very difficult to develop a workaround for the iFrame receiving this touch event. I think the best way would be to eith pass the touch to the iFrame elemen...
Zitat von »klaus.krpano« iOS 10 has a video bug that leads to crashes. krpano version 1.19-pr7 and higher are containing workarounds for that iOS 10 bug to avoid the crashes. For more details please read here: krpano 1.19-pr7 with iOS 10 support Thanks for the fix the upgrade worked but now there are two new issues with looping video. 1) On iPhone video only plays once and doesn't loop 2) When looping works on desktop, it flickers to show the static pano when it restarts. Edit: sorry, I just ne...
Zitat von »klaus.krpano« iOS 10 has a video bug that leads to crashes. krpano version 1.19-pr7 and higher are containing workarounds for that iOS 10 bug to avoid the crashes. Oh! Thanks Klaus, I knew you'd come through. So the demos on this site are all using the newest version of krpano? Zitat von »klaus.krpano« For more details please read here: krpano 1.19-pr7 with iOS 10 support Will do!
On all browsers my video pano works except now when I load it up on iPhone, it keeps reloading the page saying "A problem occurred with this webpage so it reloaded". Happened 4 times quickly then fails saying "a problem repeatedly occurred on http://coffee.sand.box.biz/panoAdBuilder…ot-pano/static/". I've deleted all my other plugins changed settings on the video plugin and so on and I can't figure this out. Does it have to do with the fact I'm trying to play automatically? It only occurs after ...
Hi, I've built an app that switches camera angles of sporting events. I successfully created a pano with multiple sources, and when layers of the skin are clicked, the video source changes using playvideo(...). More specifically: Quellcode 1 plugin[video].playvideo(get(vs.videourl), get(vs.posterurl), get(plugin[video].pausedonstart), get(plugin[video].time)); This works great, but the issue is that when the playvideo(...) is called, the current video is paused/stopped, one or two seconds go by,...
Not sure what it was, but I got autoplay and sound to work. But for some reason, sound doesn't work on iPhone, only on iPad?
I'm aware autoplay and sound have workarounds for Safari iOS, but I'm currently building an iOS PhoneGap App that obviously doesn't use Safari, but the uses the native WebView that Safari uses. This means that no workaround is needed for this, but it behaves as if it IS Safari... Whats going on with this? How do I stop the videoplayer plugin from performing the workarounds? It should autoplay and have audio without a hitch... I tried setting iphoneworkarounds and touchworkarounds to false, didn'...
Thanks for the help. onerror never calls with these network errors... panovideosupport has a false flag as it's not aware of the issue. Ideally if a script could be written to run before the video plugin runs, it could be resolved.
Its not ideal, but i used device tags and it worked, and just in time. But I'd still like a more dynamic solution if possible. Here is what I did since the video was failing on Safari Desktop and IE11: 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 <krpano version="1.18" bgcolor="0x000000"> <plugin devices="firefox|chrome|edge" name="video" url.flash="videoplayer.swf" url.html5="videoplayer.js" posterurl.ios="Lab-medium.jpg" posterurl.no-ios="Lab.jpg" ...
I'm having trouble loading with Safari and IE 11. Other browsers seem to load fine. I know there is a bug with Safari crossdomain video even with CORS, and don't know whats up with IE. Both say "loading video failed" in the log popover... As much as I love the video pano, I need to create a fallback to simply show an image pano sphere. How can I do this without showing errors? Can I do something with onvideoerror plugin listeners? Or do i do something dynamic with <image devices=""> since I know...