Keyword

Edit the Flash Player configuration - HTTP Pseudo-Streaming

  • BjoernG
  • BjoernG's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago - 13 years 6 months ago #43837 by BjoernG
I am pretty happy with the allvideo plugin for Joomla 1.5.23.
My website is running on my own server. Its a Freebsd OS with apache 2.
Now I am looking for better streaming performance. I have found the following software for apache (H264 Streaming Module for Apache (version 2).
I could it implement and it looks good when I run the video as stand alone. But I think I have to edit the jw player to use this software as I found here: forums.clip-bucket.com/showthread.php?5001-TUTORIAL-Streaming-with-Apache

"To finally activate streaming support for the flash player you need to edit the php script that loads and setups the player. All you need to do is to add the flash var 'provider=http'. There're different loading scripts for eac players so i will only explain one so you get idea what needs to be changed
As i'm using the JW Player i added this code to the player/jw_player_5/jw_player5.php file directly after the line with '$swfobj->addVar('autostart','false');':
Code:
$swfobj->addVar('provider','http');
"
As I am not a developer it's a bit hard to  find out where I have to put this value. May one of you guys can help me?

Kind Regards
Bjoern

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

  • BjoernG
  • BjoernG's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #43838 by BjoernG
Replied by BjoernG on topic Re: Edit the Flash Player configuration
ok I found following infos here: www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16010/connecting-to-an-http-pseudo-streaming-server

so it has to do with following stuff:
'provider': 'http',
'http.startparam': 'starttime'

plugins/content/jw_allvideos/includes
I added this stuff in the sources.php
<div id=\"avID_{SOURCEID}\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\" title=\"JoomlaWorks AllVideos Player\"></div>
<script type=\"text/javascript\">
        jwplayer('avID_{SOURCEID}').setup({
                'file': '{SITEURL}/{FOLDER}/{SOURCE}.{FILE_EXT}',
                'image': '{PLAYER_POSTER_FRAME}',
                'height': '{HEIGHT}',
                'width': '{WIDTH}',
                'modes': [
                        { 'type': 'html5' },
                  { 'type': 'flash', src: '{PLUGIN_PATH}/includes/js/mediaplayer/player.swf' },
                  { 'type': 'download' }
                ],
                'autostart': '{PLAYER_AUTOPLAY}',
         -->>       'provider': 'http',
                'backcolor': '{PLAYER_BACKGROUND}',
                'plugins': {
                        'viral-2': {
                                'onpause': 'false',
                                'oncomplete': 'true'
                        }
                },
                'controlbar': '{PLAYER_CONTROLBAR}',
                'skin': '{PLUGIN_PATH}/includes/js/mediaplayer/skins/{PLAYER_SKIN}/{PLAYER_SKIN}.zip'
        });
</script>

But it is still not working... any ideas?

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


Powered by Kunena Forum