You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Flv does not show, player does Created Aug 31, 2009

This thread is solved

Views: 876     Replies: 5     Last reply Sep 1, 2009  
You must login first before you can use this feature

kimalders

Posts: 3

Registered:
Aug 31, 2009

Flv does not show, player does

Posted: Aug 31, 2009

Hello there

I checked these steps:
- Verify that you are not receiving any JavaScript errors. (No errors found, just warnings: (anonymous function does not always return a value))
- Verify that the flowplayer.js script and any other required scripts are included and their paths have been specified correctly.
- Verify that flowplayer.swf exists and its path is correct. The same applies for any plugins you are using.
- Check with your browser that the video file can be found on your Web server.
All are working.

The film is good, bcs when i play it on my desktop, it runs like a charm.

My code:

<a  class="myPlayer" 
    href="http://www.xxxxx.nl/films/autoxperience.flv"  
    style="background-image:url('./films/autoexperiencestartschot.png');"  
    id="player">
    	<img src="css/img/play_large.png" alt="afspelen" />   
</a>


<script language="JavaScript"> 
      flowplayer("a.myPlayer", "./films/flowplayer-3.1.2.swf");
</script>
I see an image when i load the page. It has a play-button on it. I click the button and i see flowplayer, i see the loading animation for about 2 seconds, and then i see the controlbar appear. I see the first of the two counters counting. The other stays at 00:00. Sounds good. One problem: i see no film. Just a black window wih Flowplayer logo in its bottom left corner.

Can anyone help me here? Please?

Ranjeeta
http://www.samdodd.com/

Posts: 1

Registered:
Aug 29, 2009

» Flv does not show, player does

Posted: Aug 31, 2009

Reply to: Flv does not show, player does, from kimalders
I am busy now! In morning I will see that issue...

http://www.samdodd.com/

gmccomb

Posts: 673

Registered:
Apr 9, 2009

» Flv does not show, player does

Posted: Aug 31, 2009

Reply to: Flv does not show, player does, from kimalders
>The other stays at 00:00

That means your clip is NOT good. It lacks metadata. Just because you can play it on a desktop player does not mean you can play it in Flash.

>a.myPlayer

You're posting incomplete code, and apparently your page has multiple players on it. The code you have is otherwise okay, so it's impossible to say where your problem is.

But in any case, start simple. Begin with the basic installation for a single video. Get it to work. Then you can expand.

kimalders

Posts: 3

Registered:
Aug 31, 2009

» » Flv does not show, player does

Posted: Sep 1, 2009

Reply to: » Flv does not show, player does, from gmccomb
Thanks for our reply gmccomb

Can you tell me what i should pay attention to with respect to metadata? I gt it in .mov format, use ffmpegX application to convert it to flash. I assumed it was ok to use default settings.

I am not sure what's incomplete about my code? I have, as a testpage, only one vid on the page. If i get that to work, i'll add more. The whole page (excluding description tag and keywords tag) is:


<!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" xml:lang="en" lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<title><?php echo $title; ?></title>
	<link rel="stylesheet" href="./css/default.css" 		type="text/css"  media="screen" />
	<link rel="stylesheet" href="./css/defaultprint.css"  type="text/css"  media="print" />
	<script type="text/javascript" src="./films/flowplayer-3.1.2.min.js"></script>
</head>
<body>

<div class="vid" style="height:340px;width:424px">
<a  class="myPlayer" 
    href="http://www.xxxxx.nl/films/autoxperience.flv"  
    style="background-image:url('./films/autoexperiencestartschot.png');"  
    id="player">
    	<img src="css/img/play_large.png" alt="afspelen" /> 
</a>

<script language="JavaScript"> 
flowplayer("a.myPlayer", "./films/flowplayer-3.1.2.swf");
</script>
</div>

</body>
</html>

Cheers!

gmccomb

Posts: 673

Registered:
Apr 9, 2009

» » » Flv does not show, player does

Posted: Sep 1, 2009

Reply to: » » Flv does not show, player does, from kimalders
I don't know the tools on the Mac, but most of the front-ends for FFmpeg for the PC are crap when it comes to making FLV files for Flash, so I have to wonder about this one, too. These all-in-one converters are "jack of all trades, master at none," and you'll need to follow up your conversions with a metadata injector. I've heard there's Mac build for flvtool++ available somewhere, but anyway, you should try any of the ones you can find for OS X.

As for your page, simplify it by starting out with the basic install. You're mixing and matching the examples -- specifically, you're using the code for playing multiple clips on a page, but you only have one clip. Maybe it'll work, but go back to basics. Since you've only gone one clip use the example for just a single video.

When you get the basic page working, try the example for multiple clips when you actually have more than one clip.

kimalders

Posts: 3

Registered:
Aug 31, 2009

» » » » Flv does not show, player does

Posted: Sep 1, 2009

Reply to: » » » Flv does not show, player does, from gmccomb
Thanks again, mate!

I'll try to find a converter that actually works... I have used flowplayer in a website before, i love it. I think that the lack of metadata is the problem.

And i tested it with a vid i took from youtube. You are right. The clip is bad. I'll try to fix that. Thank you.