Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error loading media: File can not be played


Hello from RU.

I'm using free-version of jwplayer (self-customized).

I'm tryin'to play .mp4 video, but i get an error (which mentioned in topic).

Steps to reproduce:
1. Open tab with a jwplayer and play video.
2. Redirect to some other page with jwplayer and different video.
3. Click 'play'

How jwplayer is used: by using <script> tag with link to my personal player.
<script src="https://content.jwplatform.com/libraries/[hash].js"></script> // [hash] - id of my player

and somewhere in down//
jwplayer("video").setup({ file: path });
//


Thank you.

4 Community Answers

b...

User  
0 rated :

And one way, which helps me - clear browser cache for page (ctrl + f5), but it not best decision for my me

Donni

JW Player Support Agent  
0 rated :

Please follow the instructions here so we can help troubleshoot.

b...

User  
0 rated :

@Donni, sorry, but i don't have a opportunity to host test page right now.
I'm gettin' issue on my local IIS while testing asp.net application.

But i'm mentioned repro steps, so, i think, this can help.

Can you help without test page?

Anyway:
# Steps
1. Open tab with page, which contains jwplayer with video and click play.
2. Watch some seconds and redirect to other page (like 'return back' button)
3. Redirect to next page with jwplayer and other video and click play

// all videos are .mp4 and playable by direct link

# Expected behavior
Jwplayer plays the video on second page after redirecting

# Actual outcome
Jwplayer report an error "Error loading media: File can not be played"

# Script
http://paste.org.ru/?5vr9bv

# PS
And, i mentioned that in topic message, onlything, which helps me - clear browser cache for page (ctrl + f5)

Donni

JW Player Support Agent  
0 rated :

I can’t reproduce this, I really would need a test page to visit.

This question has received the maximum number of answers.