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

Forums

/

JW Player (Silverlight) Start Position Problem

11 replies [Last post]

I'm trying to set the video start position in the JW Player so the clip starts at a certain point in time.

Unfortunately, the start position parameter doesn't seem to do anything. The code sometimes works properly when running Firefox, but is ignored in IE.

Test link is Here:

http://www.mytestserver.com/video/test2/

This example should start the video 49 seconds in.

Sometimes it works for some Firefox users, never works for IE. Even the JW Wizard example doesn't seem to start the video at anything but the beginning.

Anyone have any ideas? Workaround? Here is the code I'm using in the sample link above:

<script type="text/javascript">
var elm = document.getElementById("myplayer");
var src = 'wmvplayer.xaml';
var cfg = {
file:'http://higgles.mytestserver.com/ri_sk_citycouncil_20100125',
start:'49',
width:'640',
height:'480',
backgroundcolor:'000000',
screencolor:'ffffff',
autostart:'false',
image:'opengov_sm.jpg'
};
var ply = new jeroenwijering.Player(elm,src,cfg);
</script>

The start position will only work if you are using streaming.

start (0): When using an MMS server, use this flashvar to start the video at the start position.

Yes, I am running this on a MMS server and it is set as a streaming publishing point. Again, it seems to work on my FireFox, but not IE. What's more, It seems the Wizard here at LongTailVideo doesn't work either ?? (http://www.longtailvideo.com/support/jw-player-setup-wizard?example=251)

Any ideas? All I want to do is get a Sliverlight WMV file to start at a specific location? Waaaa! Thanks! Steve A

Can you show me where you are running this? Thanks.

I am running it on a Windows server running MSS. I provided a link to my test and the source code above. Is this not what you need? You can see the file here: http://higgles.mytestserver.com/ri_sk_citycouncil_20100125 Or mms://higgles.mytestserver.com/ri_sk_citycouncil_20100125

Again, it WORKS in Firefox, when inside the LAN environment, but never in IE. As for the LAN issue, are there any special ports I need to open to get the start position to work?

Hi,

If i use this wizard example with your URLs it works fine - http://www.longtailvideo.com/support/jw-player-setup-wizard?example=251

Best,
-Ethan

Ethan, thanks for your reply. The wizard you gave reference to also works fine for me - in Firefox - It does not work in IE -- which is the problem. It doesn't work in IE for any of my colleagues, nor does any example in the Wizards here in IE, and referencing a start position.

Can you please double check to see if you are able to get this to work in IE (versions 6, 7 or 8) when using a non 0 or 1 Start Position. I think there is a bug here considering we have factored it out in a dozen computers all over the country and IE simply does not recognize the start time reference. I really appreciate your help!

Thanks,

Steve

Hi Steve,

Are you sure mms://higgles.mytestserver.com/ri_sk_citycouncil_20100125 is an actual stream, and not just a file? For me, it works in Firefox as well as IE, but start works for neither.

Best,
-Ethan

Ethan,
http://higgles.mytestserver.com/ri_sk_citycouncil_20100125 is a "on-demand" publishing point on Windows Media Services on Windows Server 2003 Advanced. (note: it works with both mms: and http:)

It is a publishing point that plays a previously encoded WMV file. I am not referencing the WMV file directly because I am under the impression that distributing it as a publishing point with MMS is far more efficent and controlled.

My question boils down to something really quite simple: Does your Silverlight product support the ability to start at arbitrary positions in both IE and Firefox?

Even your Wizard and sample video on the Longtail Video web page only seem to function - with the start position working correctly - in Firefox, not IE

Are you able to successfully start a WMV file at an arbitrary position in both FF and IE at all? No one here can :( This is why we think it is a bug - but then again, what do we know ;)

I am very curious if this WMV start parameter works for you in FF and IE. Thanks again, Sir.

Regards,

Steve A

Hi Steve,

I will take a look into this. http://higgles.mytestserver.com/ri_sk_citycouncil_20100125 in our wizard works in both IE and Firefox, however, I was not able to get the start param to work in either. I will investigate this, and let you know.

Best,
-Ethan

Thanks Ethan.

You should also be able to reproduce this problem with your own Silverlight WMV Wizard and test video. Again, they "play" just fine in IE and FF, but the start position parameter doesn't seem to work in IE, and intermittently in FF.

NP. The demo in our wizard isn't a stream though, so start wouldn't work with it.