NoWar
NoWar

Reputation: 37633

How to play remote flv files

I really cannot find a way to play remote FLV files via JWPlayer.

Is it possible to do?

What I have got is here and I have tried the last version of JWPlayer:

<script type='text/javascript' src='jwplayer.js'></script>
<div id='mediaspace'><p>This div should have been replaced (by jwplayer.js)</p></div>
<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'http://www.influxis.com/btest/bsitz/apps/jwplayer/sample.flv',
    'controlbar': 'bottom',
    'width': '425',
    'height': '344'
  });
</script>

Upvotes: 2

Views: 2025

Answers (2)

NoWar
NoWar

Reputation: 37633

I found a really cool solution.

If you visit this site: http://www.osmf.org/configurator/fmp/

And just copy/past the code in order to test it

<object width="600" height="409"> 
  <param name="movie"
    value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param>
  <param name="flashvars"
    value="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv&poster=http%3A%2F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg"></param>
  <param name="allowFullScreen" value="true"></param>
  <param name="allowscriptaccess" value="always"></param>
  <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" 
     type="application/x-shockwave-flash" allowscriptaccess="always" 
     allowfullscreen="true" width="600" height="409"
     flashvars="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv&poster=http%3A%2F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg"></embed>
</object>

Upvotes: 2

RandomUs1r
RandomUs1r

Reputation: 4190

Try converting your flv to swf using any number of free online converters. Not too familiar with JWPlayer, but there's a variety of other ways to embed flvs. You can host it on youtube and link to that, you can add http://www.flvplayer.com/ to your website, or something like it.

Upvotes: 2

Related Questions