edited: Malformed!!!
how to start video once the VR is fully loaded ?
-
-
Ok ,
1. a clean upload of krpano-1.0.8-beta8 ( added an index.html , a copy of krpano.html ) Direct Link
resut:
All it is OK.2. added a new folder video-hotspot_test that is a copy of the video-hotspot folder .
Here I have modified the xml file to test. Direct LinkCode
Display More<!-- ADDED the action(playbutton); at the end --> <events onxmlcomplete="showtext([b][i]krpano[br]video hotspot example[/i][/b], infostyle); action(playbutton);" /> <!-- ADDED the action(playbutton); --> <action name="playbutton"> hotspot[videospot].resume(); </action> <!-- CHANGED - pausedonstart="false" to pausedonstart="true" --> <hotspot name="videospot" url="%SWFPATH%/plugins/videoplayer.swf" videourl="%SWFPATH%/examples/video-hotspot_test/cats-short.flv" distorted="true" ath="0" atv="0" edge="center" scale="1.0" rx="0" ry="0" rz="0" loop="true" pausedonstart="true" directionalsound="true" range="110" volume="0.7" onhover="if(ispaused, showtext(click to play), showtext(click to pause));" onclick="togglepause();" />
Result: Direct Link to xml
the video does not play at start and the Debugger say: WARNING: unknown action command: hotspot[videospot].resume ( press the o key to see it )
note: some time the Click to play function into the video player do not wnat to work !!!! Not always....
3. added a new folder video-hotspot_test_1 that is a copy of the folder video-hotspot_test
Here I have modified the xml file... Direct LinkCode<!-- events - show a infotext on start --> <!-- ERASED the action(playbutton); in the onxmlcomplete attribute --> <!-- ADDED the action(playbutton); in the onpreviewcomplete attribute --> <events onxmlcomplete="showtext([b][i]krpano[br]video hotspot example[/i][/b], infostyle);" onpreviewcomplete="action(playbutton);" />
Result: Direct Link to xml
The video does not play at start and the Debugger say: WARNING: unknown action command: hotspot[videospot].resume4. added a new folder video-hotspot_test_2 that is a copy of the folder video-hotspot_test_1
Here I have modified the xml file... Direct LinkCode<!-- events - show a infotext on start --> <!-- ERASED all events attributs --> <!-- ADDED the showtext(); and the action(playbutton); in the onloadcomplete attribute To make visible an other issue --> <events onloadcomplete="showtext([b][i]krpano[br]video hotspot example[/i][/b], infostyle);action(playbutton);" />
Result: Direct Link to xml
The video does not play at start, the Debugger say nothing in particular and the showtext(); action does not executed any more !!!UFF I lost my last hair on my head..
Salut.
Edited: added Direct links to the xml files used !!!
-
Look for your swf in a debugger firefox or "activity " in safari, I'm sure is not loaded
edit : the swf is loaded
-
<krpano version="1.0.8"onstart="wait(blend);">
le wait(blend) est obligatoire sinon ça marche pô
-
Hi Job.1,
Just added <krpano version="1.0.8" onstart="wait(blend);"> in all the example files but NO CHANGE*attention*
It does not work.Il te reste combien de poil sur la tête edited: ( how many hair on your head? )
-
Tu dois avoir des erreurs de syntaxe qquepart, pompes mon xml et testes, sinon tu as une mauvaise version d'un plugin ou de krpano
ça marche en ligne et chez moi
-
Hi Job.1,
QuoteTu dois avoir des erreurs de syntaxe qquepart, pompes mon xml et testes, sinon tu as une mauvaise version d'un plugin ou de krpano
Like I said before I have downloaded a fresh version of krpano-1.0.8-beta8 Today and uploaded it to my web site.
The modified xml files comes from that dowloaded krpano-1.0.8-beta8.
See it by your self:
Direct Link to Krpano.swf , press o key ,the debugger say: INFO: krpano 1.0.8 beta 8 (build 2009-06-15)
Direct Link to videoplayer.swf videoplayer plugin (build 2009-06-15)J'y comprend quedal ! I do not understand anything.
Si je "t'emmerde" on arrête là. Je comprendrais. Perhaps it is better stop
-
I don't understand anything with your bug
-
Hi Job.1,
QuoteI don't understand anything with your bug
Moins non plus et Comme dirait "mamie nova"
QuoteAH ÇA S'EST VRAI ÇA
Faut y mettre l'accent du midi ( That's really real...)
Perhaps Klaus can see what's append here?
Anyway I think it is possible that there is a bug on the events attribute... else why the showtext() action does not execute when on the onloadcomplete attribute ?Salut, merci encore.
-
KLAUS....................................please some help
-
Hi,
Some fresh news
It seems that the onloadcomplete events attribute works only if there is some image to be displayed
Edited: in a other thread, Klaus explains: link to thread referenceQuotemaybe you mean - "onloadcomplete" - this will be called when the loading of the images was done
I have uploaded a new modified example of video-hotspot Direct LinkCode
Display More<krpano version="1.0.8" onstart="wait(blend);"> <image type="cubestrip"> <cubestrip url="pano.jpg" /> </image> ... <events onxmlcomplete="showtext([b][i]krpano[br]video hotspot example[/i][/b], infostyle);" onpreviewcomplete="" onloadcomplete="action(playbutton);" onloaderror="" onkeydown="" onkeyup="" onclick="" onviewchange="" onidle="" onresize="" onenterfullscreen="" onexitfullscreen="" /> ....
Result: Direct Link to xml
IT WORKS But not always ..... if I refresh the URL without clearing the cache, then it does not play (sometimes it does)....On my local server it is not working ..... It seems that the onloadcomplete have not the time to do all his job... The Debugger say nothing in particular... But the action(playbutton); is not executed....
Little to little it comes clearing... but not yet...
Some hairs comes back to my head
Salut.
-
happy for you
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!