Keyword

Can I embed externally hosted flv files via rtmp:// ???

  • niksmout
  • niksmout's Avatar Topic Author
  • Offline
  • New Member
More
17 years 3 months ago #11121 by niksmout
Hi

Does anyone know if it is possible to embed externally hosted flv files via rtmp:// using AllVideos?

I have managed to get videos to display from my local host - no problem.

When I try to embed the extenal files like this
{flvremote}rtmp://69.46.26.82/babysign/clap.flv{/flvremote}
The video box appears but it doesn't play anything

I know my link is working because I tested it externally here
www.jeroenwijering.com/?page=wizard

I can't find any other posts who are using rtmp:// so I'm not even sure if this is supported.

Anyone know if its supported? how to embed it? Or if I am doing something wrong?
Thanks

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #11122 by Case Noland
I recently tackled this issue while configuring AllVideos to work with my Amazon AWS Cloudfront account (video served via CF CDN on S3).

Three things need to be updated:

1) Update \plugins\content\jw_allvideos\inclues\players\mediaplayer\player.swf with the latest from longtailvideo.com (rename the .swf to simply player.swf if necessary)

2) Add SWFObject.js to /plugins/content/jw_allvideos/includes/players/mediaplayer/

2) Edit your \plugins\content\jw_allvideos\inclues\sources.php file to include the SWFObject .js javascript required by the latest JWPlayer to stream via RTMP

...so around line 30 look for "flvremote" and replace the <object> tag with:

<script src='{SITEURL}/plugins/content/jw_allvideos/includes/players/mediaplayer/swfobject.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script>
  var so = new SWFObject('{SITEURL}/plugins/content/jw_allvideos/includes/players/mediaplayer/player.swf','mpl','470','290','9');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','{SOURCE}');
  so.addVariable('streamer','YOUR STREAMER NAME / PATH GOES HERE');
  so.write('mediaspace');
</script>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum