Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

mediaplayer image flashvar randomly failing

23 replies [Last post]

In version 3.13, it seems that the background image is randomly failing. I use this flashvar when embedding FLVs. For example, if I post a single mediaplayer, the image may show up or it may not. Refreshing the page has always fixed it. If I post several mediaplayers on a page, the image might show up in only two. I use the same PNG image in all my players and the file exists in the same directory as the logo, which ALWAYS shows up. There's never a problem when the image is in a playlist. I never encountered this problem with previous versions.

Looks like 3.12 is doing it as well, which leads me to believe it's an IE7/Flash bug, since I recently upgraded Flash and this definitely wasn't happening a week ago.

probably you have your multiple players as inline code in the page?
and doesnt set width and height in the flashvars?

please see the (sourcecode of the) several [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/multipleplayers.htm]multipleplayers[/url] demos on the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demopage[/url] - do you see the same problem?

I set width and height in my players. This happens with just a single player. The multiple player example only demonstrated that it was random. Or at least that the first player's image failed, while the second two fired. I had a minute to test this in Opera and it worked fine, just as I suspected. I'm failry certain this is an IE/Flash bug in the new version. Basically when the player first loads (or the first player in a series) the image fails pretty consistently (when used in a flashvar). When the page is refreshed it works as expected. This isn't any kind of rock-solid repro case, this is just my recent experience, in the limited time I've had to investigate. It's annoying, but I have to live with it until I have the time to change my code a little, test out the config flashvar and see if the image works with that.

This only JUST started occuring within the last week. (I updated to 3.13 and also upgraded Flash).

@zezozose

do you set the width and height in the flashvars and not only in the embed code?
do you use the swfobject or the old ufo script, or maybe even the naked embed code? maybe a CMSystem?
do you have the code inline in the page or properly wrapped in functions in the head as the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/minimal_but_safe.htm]minimal but safe[/url] demo show?
do you have other scripts in the page or use opacity filters in some stylesheet?

the symptoms you describe are completely typical for problems that are caused by the above issues!

Width and height set in both. This is in MySpace bulletins (no JS allowed and no style tweaks). On my site, I use my own, custom JavaScript to embed and I don't have an issue there since I always use playlists and this doesn't happen when using playlists (as far as I can tell). The players on all my MySpace profiles work perfectly (they are using playlists).

I don't think you understand what I am saying. Did you even read my post? My code hasn't changed. It used to work fine. Now it does not. It worked fine for many, many months (at least nine). Just in the last week the image flashvar fails in IE. When I refresh it's okay. It seems to be the new Flash (I updated last week). This does not appear to occur in the new Flash for Opera. I tried 3.12 again to see if it happened and it did, so I concluded that it was the IE Flash update that broke it.

@zezozose

yes, i have read your posts, and your latest is the first time you mention myspace (had you only mentioned that in the first)
my guess is, that the probability that adobe has released a plugin without testing in IE, is smaller than than the probability that myspace has changed the way they generate their pages again - as they are known to do that frequently...
but as you say there is no problems with playlists, why not just use a playlist with a single item then?

I'm going to switch over to using playlists when I have time, as stated in my third post. I'm curious what MySpace could have changed to cause such strange behavior. They didn't alter the usual munging of my object code at all. Also, the probability of Adobe releasing a buggy plugin is HIGH. The last few versions were NOTORIOUS for consistently crashing IE7. This problem persisted for months and months. Those bastards. I'm sure it was all IE's fault, right? It does look like this is a MySpace thing though, after having found some time to run a few tests.

i must admit i feel a little bit sorry for the flash people in this respect - programming a plugin in for IE is aiming at a moving target - whenever they have something working they always have the risk that the next windows update will ruin everything, and with microsoft on the warpath with silverlight - hmm...

I'm having a similar problem. Only problem is it is occurring in Opera, Safari (win), Firefox and IE. It seems to be completely random. Take a look at - http://tinyurl.com/39wo7z . I've tried it on two computers with the same result.

My image does show when it "doesn't", it just comes up very very small and not where it should be. I'm using a swf for the image. In the same browser, empty cache or not, it seems to have a random chance of happening.

I know that if I load the tab first then open it once the page is done, it won't "not show" the image because it loads the jw mediaplayer when you open the tab.

Any ideas?

We are experiencing the same problem (no preview images) with IE and I don't believe this problem always existed as we've been using JW Player for over a year on cisco.com.

Here are couple sample pages:
http://www.cisco.com/en/US/netsol/ns340/networking_solutions_large_enterprise_home.html
http://www.cisco.com/en/US/netsol/ns411/networking_solutions_home_and_home_office_home.html

On first visit with IE, there is no preview image. If you refresh or come back to the page in same browser session. The image does display. There is no problem with FireFox. I think this issue has only shown up within the last month.

Anybody have any ideas on this problem?
Thanks
Andy
afgrant@cisco.com

I think we have a similar issue - by using a swf-File as preview image the center of this swf is moving to the right bottom point of the player. it does not matter watching with ie or firefox, sometimes (not always) after a few seconds the file is jumping into its right place. strange - isn't it?

Will take a look at this. Might be that SWF files aren't always resized to the correct dimensions when used as previews. I don't see any problems with the display of JPG files though...

I want my preview image to be an SWF or a FLV. Neither appears. Is this supported?

Correction to my previous post. The FLV does not appear as a preview image. The SWF does appear as a preview image, but in the lower right corner, same issue as michl. Is there any motion file type that works as a preview?

HI, we are having the same problem as Michl and Mike--problem with using a SWF as a preview image. its the same dimensions as the FLV file but its pushed to the bottom right. Any news on a fix?
thanks

Hi

I'm using the media player to play a playlist of mp3s.

In the display area, I want to show an image and a separate thumbnail image per mp3 in the playlist but when I add the thumbnail using <image> file </image> to the xspf file, I see the same image also displayed in the display area to the left.

What am I doing wrong?

Thanks a ton
Milind

Hi

Can someone please clarify if this is supported for playlists of mp3 files?

Thanks
milind

@Milind,

That's how it works. The image from the image element of the playlist is used for both the thumbnail and the image in the display area.

Use the code posted here [url=http://www.jeroenwijering.com/?thread=9400#msg55959]IMAGE TO THE LEFT IS NOT DISPLAYED WHILE PLAYING[/url] for Marcel, then make two changes.

1) Find this:iM.innerHTML = '<img src="' + obj['image'] + '" width="475" height="400">'; and change it to this:iM.innerHTML = '<img src="' + obj['description'] + '" width="475" height="400">';

2) In every track of your playlist, add the annotation element with the large image in it:<annotation>http://my.domain.com/path/large_image.jpg</annotation>Adjust domain, path, image name appropriately.

beachme,

Thanks for clarifying. From your post, it appears that media player shows the same image in both places. I'll try your tip, though - thanks.

JW:
Would it not be more useful to have the ability to show different images? For instance, the thumbnail can pertain to each particular song/title (album cover) and the image in the display area can be more "generic" e.g. a logo or a service name.
That way, when playing a playlist of mp3s, songs from different albums can use different thumbnails but the image in the display area remains constant (or can be changed independent of the thumbnails).

My $0.01
M

I'm having a problem using JPG as a preview image using JW 4.1, the preview image fails randomly, I'm using flash 9.0 r47. I can't seam to get it to fail on Safari but it does fail randomly on Firefox 3.0.1. Installing the latest flash player (9.0 r124) seams to make it occur less frequently but it does occur.

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "9.0.0", "expressInstall.swf");
</script>
</head>

<body>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="561" height="189" id="myFlashContent">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="sameDomain" />
<param name="flashvars" value="&file=homenew2.flv&amp;&controlbar=over&amp;&image=home.jpg" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="player.swf" width="561" height="189">

<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="sameDomain" />
<param name="flashvars" value="&file=homenew2.flv&amp;&controlbar=over&amp;&image=home.jpg" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>

<!--<![endif]-->
</object>
</div>
</body>
</html>

The Adobe Flash Player can be very persnickety about which images it will load. Sometimes, re-exporting the image from your graphics editor will fix the problem. Usually, Flash won't load a progressive jpg image, so save all jpgs as non-progressive.

@Milind Damle: making the preview functionalities more flexible is indeed on the todo-list!

using flash 9 in IE 6
I removed addParam('wmode','opaque') - no more problems loading the preview image :-)