Loading nonexistent image with flash video
Posted: Sat Dec 19, 2009 12:51 pm
Hi,
I'm using s9y 1.4.1 and the Easy Podcasting Plugin 1.23. Recently I found entries like the following inside my Apache error log:
Searching for the reason led me to the easy podcasting plugin. As I'm using *.flv videos it uses the following code from podcast_player.php:
The line
assumes that there is a jpg file with the same name as the flv file. But where is the image file supposed to come from? Apparently it is not in the media library. Or should the line be removed from the javascript?
Thanks in advance
Tobias
I'm using s9y 1.4.1 and the Easy Podcasting Plugin 1.23. Recently I found entries like the following inside my Apache error log:
Code: Select all
File does not exist: /var/www/serendipity/uploads/foo.jpgCode: Select all
@DEFINE('PLUGIN_PODCAST_FLVPLAYER' ,'
<p class="podcasting" id="podcast_#filename#"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player. JavaScript is also needed to see this player.</p>
<script type="text/javascript">
var s1 = new SWFObject("#plugin#/player/flvplayer.swf","single","#intwidth#","#intheight#","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","#url#");
s1.addVariable("image","#url_noext#.jpg");
s1.write("podcast_#filename#");
</script>
');Code: Select all
s1.addVariable("image","#url_noext#.jpg");Thanks in advance
Tobias