Hi,
i was trying to dynamically generate the video plugin that is used for the 360 video in the sphere.
like:
Code
<action name="CViP" autorun="preinit">
addplugin(video);
set(plugin[video].url.flash,../../plugins2/videoplayer.swf);
set(plugin[video].url.html5,../../plugins2/videoplayer.js);
set(plugin[video].videourl.ios,../../video/heli_small.mp4|../../video/heli_small.webm);
set(plugin[video].videourl.no-ios,../../video/heli_big.mp4|../../video/heli_big.webm);
set(plugin[video].pausedonstart,true);
set(plugin[video].keep,true);
set(plugin[video].loop,true);
set(plugin[video].enabled,false);
set(plugin[video].zorder,0);
set(plugin[video].align,center);
set(plugin[video].ox,0);
set(plugin[video].oy,0);
set(plugin[video].width.no-panovideosupport,100%);
set(plugin[video].height.no-panovideosupport,prop);
set(plugin[video].onloaded,videointerface_setup_interface(get(name)));
set(plugin[video].onvideoready,videointerface_videoready());
set(plugin[video].onvideoplay, );
trace(get(plugin[video].videourl.no-ios));
</action>
Display More
But this seems impossible.
Is that correct?
The trace works though.
But it seems that the created plugin is too late to get pickup by the viewer.. or something like that.
I guess in this case we should create the scene with <sphere url="plugin:video" /> after this.. but my second guess is that it is impossible..
Or am i talking nonsence.. which is not unfamiliar to me.. haha
Tuur