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

Issue while playing a flv video


Hello ..

I am using a php file to stream flv videos ..

http://mywebsite.extension/jw2/video.php


this is my jwplayer code =>

<div id="container">Loading the player...</div>
<script type="text/javascript">

var playerInstance = jwplayer("container");
playerInstance.setup({


file: "http://mywebsite.extension/jw2/video.php",
flashplayer: "http://ssl.p.jwpcdn.com/player/v/7.2.4/jwplayer.flash.swf",
image: "//example.com/uploads/myPoster.jpg",
width: 745,
height: 450,
title: 'Basic Video Embed',
description: 'A video with a basic title and description!',
mediaid: '123456',
cast:{
appid:"",
loadscreen:"d.gif",
endscreen:"d..gif",
logo:"d.gif",
railcolor:"#e31e76"
}
});
</script>


and am getting this error => Error loading player. No playable sources found

I need the solution ...

but my http://mywebsite.extension/jw2/video.php this working with other type of players as well. am getting this error only in jwplayer .. need the solution very fast ...

Thank you ...

2 Community Answers

stacho1988

User  
0 rated :

Anyone there to make me the answer ?

Todd

JW Player Support Agent  
0 rated :

Our player is using the file extension of your file: ’’ to guess the media type. Since you have .php, you will need to add:

type: 'flv'

inside your setup().

This question has received the maximum number of answers.