I'm trying to use videoplayer, and specifically to have the videourl set by an action.....
In my video plugin name="vid1", I have
videourl=""
etc......
Then I have this action..
<action name="show_vid1" devices="desktop">
set(plugin[vid1].visible, true);
set(plugin[vid1].videourl, '../videos/test_video.mp4');
set(layer[blackout].visible, true);
tween(plugin[vid1].width, 800, 0.6);
tween(layer[blackout].alpha,1,0.7);
plugin[vid1].play();
set(autorotate.enabled, false);
</action>
This isn't working, I tried many, many different variations, but the video does not show.
If I define the video file in the plugin, instead of in the action, it works fine.
Is it allowed to have the videourl changed by an action?
Thank you.
v