Hello
I have installed the FLV Player Plugin Version 4 and followed the instructions there and also looked at this thread which had some helpful tips but cannot seem to get it to show flash video or even the player.
This is the code in my template:
{if flvvideo}
{exp:flvplugin playerpath="http://example.com/images/player.swf" file="{flvvideo}"
playernumber="{entry_id}" width="400" height="302"}<div id="player{entry_id}"></div>
{/if}where ‘flvvideo’ is a custom weblog field with Default Text Formatting set to NONE - I’ve made an entry and put the path to the flv file (http://example.com/images/movie.flv) in the flvvideo field.
And I have this in the header:
script type="text/javascript" src="http://example.com/images/swfobject.js">/scriptThis is the HTML being produced (note I’ve removed some brackets around ‘script type’ to allow for posting here)
<!--
** FLV Media Player Plugin v4.0 **
An easy and flexible way to add video and audio to your website.
See: <a href="http://www.5pieces.com/blog/flv-player-plugin-v4/">http://www.5pieces.com/blog/flv-player-plugin-v4/</a> for more information.
-->
script type="text/javascript"
var flashvars = {
file: 'http://example.com/images/movie.flv',
id: '29'
};
var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC',
allowfullscreen: 'true',
allowscriptaccess: 'always'
};
swfobject.embedSWF('http://example.com/images/player.swf', 'player29','400','302', '9.0.0','expressInstall.swf', flashvars, params);
/script>
<div id="player29"></div>In other words nothing is appearing in the <div> where the player should appear. Do I need to change file permissions on any of the uploaded files (player.swf, swfobject.js or the .flv movie?) and if so to what?
Any help would be very much appreciated! Many thanks in advance…