Solved

Embeding flv file

Posted on 2011-09-23
5
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

730 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