I see that the video structure player is the JW Player, excellant.
How should I go about changing the settings of the player? Is it possible with <v:video />
?
When I use this markup:
<v:video path="video" width="626" height="372" />
Vae generates this:
<div id="containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="/__assets/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("/__assets/player.swf","ply","626","372","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://ajaffe.vaesite.net/__data/1ed5b6ef25b7e36083569eea026c2ae6.mp4");
s1.write("containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498");
</script>
var s1 = new SWFObject("/__assets/player.swf","ply","626","372","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://ajaffe.vaesite.net/__data/1ed5b6ef25b7e36083569eea026c2ae6.mp4");
s1.write("containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498");
</script>
All I really need to add are these two parameters to get rid of the controllerbar and make the video autostart:
s1.addVariable("controlbar',"none");
s1.addVariable("autostart","true");
Could I type this:
<v:video path="video" width="626" height="372" controlbar="none" autostart="true" />
so I would end up with:
<div id="containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="/__assets/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("/__assets/player.swf","ply","626","372","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://ajaffe.vaesite.net/__data/1ed5b6ef25b7e36083569eea026c2ae6.mp4");
s1.write("containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498");
</script>
var s1 = new SWFObject("/__assets/player.swf","ply","626","372","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://ajaffe.vaesite.net/__data/1ed5b6ef25b7e36083569eea026c2ae6.mp4");
s1.addVariable("controlbar","none");
s1.addVariable("autostart","true");
s1.write("containervae_generated_might_change_c6a6ed7e05dd6cc3c76d80bad24c8498");
</script>
Hey Kevin, can I see the page??
here is my page:
http://ajaffe.vaesite.com/video-player/new-york-campaign-60s
As you can see, the parameters have been added correctly, but they aren't reflected in the player. They are supposed to make the controls disappear and the movie autostart.
The JW Player you are using may be an older version, did you try updating it? v5.3 the new version is both a Flash and HTML5 player so it will work on iOS devices which is something the client needs.
It looks like you're new here. If you want to get involved, click one of these buttons!