Solved

Embeding flv file

Posted on 2011-09-23
5
247 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

22 Experts available now in Live!

Get 1:1 Help Now