Loading nonexistent image with flash video

Creating and modifying plugins.
Post Reply
Posts: 3
Joined: Wed Mar 11, 2009 8:50 pm

Loading nonexistent image with flash video

Post by spunkjazz » Sat Dec 19, 2009 12:51 pm

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.jpg

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:

Code: Select all

<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");

The line

Code: Select all


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

User avatar
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Re: Loading nonexistent image with flash video

Post by garvinhicking » Sat Dec 19, 2009 4:17 pm


It's for people that upload a manual image file called the same like the video file for a thumbnail preview. Doing a check for that was not yet implemented, because the extra 404 call doesn't terribly hurt...

# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply