Hi all,
I am trying to use the config.xml set up for the FlashVars on the FLV Player Plugin (see here: http://developer.longtailvideo.com/trac/wiki/FlashVars), but the setting seems to get stripped out. Here is the EE code for the embed:
<div>
{exp:flvplugin playerpath="{site_url}player-licensed.swf" file="{video_file}" playernumber="{entry_id}" skin="{site_url}bekle/bekle.swf" config="{site_url}config.xml" controlbar="over" width="640" height="360"}<div id="player{entry_id}" class="flvContent">The latest Flash Player is required to view this video. <a href="http://www.adobe.com/go/getflashplayer">Please download it here.</a> </div> </div>
Which results in this:
<div>
<!--
** FLV Media Player Plugin v4.0 **
An easy and flexible way to add video and audio to your website.
See: http://www.5pieces.com/blog/flv-player-plugin-v4/ for more information.
-->
[removed]
var flashvars = {
controlbar: 'over',
skin: 'http://mysite.com/bekle/bekle.swf',
file: 'http://mysite.com/videos/videofile.flv',
id: '49'
};
var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC',
allowfullscreen: 'true',
allowscriptaccess: 'always'
};
swfobject.embedSWF('http://mysite.com/player-licensed.swf', 'player49','640','360', '9.0.0','expressInstall.swf', flashvars, params);
[removed]
<div id="player49" class="flvContent">The latest Flash Player is required to view this video. <a href="http://www.adobe.com/go/getflashplayer">Please download it here.</a> </div> </div>
The settings work fine when they are added to the embed directly, but the settings from the xml file do not get picked up at all.
Any tips?
Cheers!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.