Problem with flv movies on JW FLV player

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved

Join Date: Feb 2008
Posts: 99
Reputation: Clawsy is an unknown quantity at this point 
Solved Threads: 5
Clawsy Clawsy is offline Offline
Junior Poster in Training

Problem with flv movies on JW FLV player

 
0
  #1
Oct 20th, 2008
Hello,
I have a little problem that kept me busy for quite a while so I search for help here, maybe someone sees 'the bug'.
I use JW FLV player to play *.flv movies from my website. I use a XML playlist for that. It's just the movies don't start JW player shows me '!' sign when I click it to play. Here's my code:

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. //this is for player integration in the page
  2. <script type="text/javascript" src="JW_FLVplayer41/swfobject.js"></script>
  3.  
  4. <div id="movie_container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
  5.  
  6. <script type='text/javascript'>
  7. var s1 = new SWFObject('../JW_FLVplayer41/player.swf','ply','370','560','9','#ffffff');
  8. s1.addParam('allowfullscreen','true');
  9. s1.addParam('allowscriptaccess','always');
  10. s1.addParam('wmode','opaque');
  11. s1.addParam('flashvars','file=../videos/MBK/mbk.xml&playlist=bottom&playlistsize=180&skin=../JW_skins/stijl.swf');
  12. s1.write('movie_container');
  13.  
  14. </script>

As you can see, player is located in JW_FLVplayer41 folder and skins in JW_skins which are in the root folder(www). The playlist is located in the videos/MBK directory. All paths are OK, I checked them a lot.

Here's my XML playlist:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  3.  
  4. <trackList>
  5.  
  6. <track>
  7. <title>aaa title</title>
  8. <author>aaa autor</author>
  9. <location>../videos/MBK/aaa.flv</location>
  10. </track>
  11.  
  12. <track>
  13. <title>bbb</title>
  14. <author>bbb autor</author>
  15. <location>../videos/MBK/bbb.flv</location>
  16. </track>
  17.  
  18. </trackList>
  19. </playlist>

I also tried paths like: www.mydomain.com/videos/MBK/bbb.flv instead of ../videos/MBK/bbb.flv but it didn't solve my problem. Another thing to keep in mind is that first, located on my 'offline server' - WAMP5 the movies run perfectly but on the online server, they dont run. I use exactly this configuration(JW FLV player + XML playlist) to play mp3 on my website. It works perfectly.

If somebody helps me I would be grateful(or if you recommends me another method to play *.flv movies on my website).
Last edited by Clawsy; Oct 20th, 2008 at 5:46 pm.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 99
Reputation: Clawsy is an unknown quantity at this point 
Solved Threads: 5
Clawsy Clawsy is offline Offline
Junior Poster in Training

Re: Problem with flv movies on JW FLV player

 
0
  #2
Oct 21st, 2008
Sory for posting twice but I did not mentioned that even the JW FLV player readme example on my website doesn't work and it say that cannot find file to play. Here's the example:
http://www.quovadismusic.ro/JW_FLVplayer41/readme.html
Is this a problem with the server?
Please help me if you can.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 99
Reputation: Clawsy is an unknown quantity at this point 
Solved Threads: 5
Clawsy Clawsy is offline Offline
Junior Poster in Training

Re: Problem with flv movies on JW FLV player

 
0
  #3
Oct 23rd, 2008
THIS PROBLEM IS SOLVED. Admin of the server didn't register the 'fls' type.
However thanks all reading this.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC