Solved

Embeding flv file

Posted on 2011-09-23
5
245 Views
Last Modified: 2012-05-12
I am trying to embed a flv movie into a website , but somehow is not working I downloaded the jw player and place the movie as :

but nothing comes up , much hekp is appreciated
<div id="container">Loading the player ...</div> <script type="text/javascript"> jwplayer("container").setup({ flashplayer: "/player.swf", file: "/flv/FishingForHope.flv", height: 475, width: 318 }); </script>

Open in new window

0
Comment
Question by:TonyReba
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:rfportilla
ID: 36587124
1. what browser(s) are you testing on?
2. Did you download and link the corresponding libraries according to http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide#quickembed?

This should be all there is to it.  
0
 
LVL 9

Author Comment

by:TonyReba
ID: 36587149
The only think I copied into the website root is the

jwplayer.js

player.swf

and swfobject.js

all is in the root
0
 
LVL 9

Author Comment

by:TonyReba
ID: 36587150
I am using IE8
0
 
LVL 9

Accepted Solution

by:
rfportilla earned 300 total points
ID: 36588140
Then you probably need to add a line similar to

  <script type="text/javascript" src="/jwplayer/jwplayer.js"></script>

depending on the path.  If you want to keep it in the root, which I don't recommend, you can use the following
 
  <script type="text/javascript" src="/jwplayer.js"></script>

This line should probably go in the head section.  

Typically, when you use a js library, there are three steps.
1. download the libraries, objects, etc.
2. create appropriate links/imports (that's what i am talking about above)
3. use the appropriate functions in your code.

If you think the problem is something else, please post the html code.
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36713624
I will procide a solution what I added for another EE user

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Q_27343538.html
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now