Sie sind nicht angemeldet.

1

Mittwoch, 28. Januar 2015, 18:12

onvideopaused and onvideopaused events

Hi,
I'm playing a video into a scene, and have problems with onvideopaused and onvideopaused events. Seems they are not firing at all :/
Could anyone show a simple xml where it works ?

example :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<krpano version="1.18" onstart="action(start);">

<scene name="panoVideo1">

	<plugin name="video"
        	url.html5="%SWFPATH%/plugins/videoplayer.js"
        	onvideopaused="myaction1();"
        	onvideopaused="myaction2();"
	/>
	<action name="myaction1">
        	set(layer[test].visible,true);
    	</action>
	<action name="myaction2">
        	set(layer[test].visible,false);
    	</action>
	<layer name="test">
        	url="skin/image.png"
        	keep="true" handcursor="true" capture="true"
    	/>
</scene>

</krpano>


I've also tried with action(myaction1); but nothing seems to work ...

2

Donnerstag, 25. Februar 2016, 14:29

Did you find a solution ?

I have exact same problem with 1.19pr3 !

Nothing fired on onvideopaused and onvideoplay. onvideocomplete, onvideoready and onloaded works perfectly !

Anoril

Schüler

Beiträge: 69

Wohnort: Paris, France

Beruf: Game Developer and Photographer

  • Nachricht senden

3

Montag, 16. Mai 2016, 20:17

Hello!

Same issue on my side with 19-pre4. I'll check if there is no redefinition of the call somewhere in the code...

Regards,
« Quidquid latine dictum sit, altum sonatur »
Pentax stuff.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden