Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Montag, 24. September 2012, 15:35

Youtube Video. How can you kill it?

The youtube sound will continue to play throughout

set url null
removeplugin
stopallsounds(true)
setting the url to another video, continues the original sound and starts the second.

*sad*
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

2

Montag, 24. September 2012, 17:45

had this issue.

you have to call player.destroy() (check youtube api)

i use a krpano event to tel youtube player to destroy:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
import krpano_as3_interface;



var krpano : krpano_as3_interface = null;
krpano = krpano_as3_interface.getInstance();

krpano.set("event.destroyPlayer", destroyPlayer);

	
function destroyPlayer(param:String):void
	{
	player.destroy();
	}

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Montag, 24. September 2012, 20:21

Thanks, I'm just using krpano at the moment and not a custom plugin.
I guess Klaus would need to add this as a custom plugin / hotspot function.
At the moment, I gave up and am using an flv.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour