Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Is it possible to use our own Flowplayer id with the video player?

10 years 17 hours ago
  • Didier's Avatar
    Topic Author
  • Didier
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hello,

Would you please tell me if it's possible to use our own Flowplayer license by adding some lines in "videos.flowplayer.php"? If so, please tell me how :)

Many thanks for your prompt return.

Warm regards,
Didier.

10 years 10 hours ago
Licenses:

Hi Didier,

please try this steps:
1. copy videos.flowplayer.php from [joomla site root]/components/com_community/templates/jomsocial/layouts/ to [joomla site root]/templates/socialize/html/com_community/layouts/

2. edit it, and at line 64 change the code from

<script type="text/javascript">
	flowplayer("player", {src: "<?php echo $playerFile; ?>", wmode:'opaque' },
		{
			streamingServer: 'lighttpd',

			playlist: [
				{
					url: '<?php echo $video->getThumbnail(); ?>',
                	scaling: 'scale'
				},
				{
					url: '<?php echo $video->getFlv(); ?>',
			    	title: '<?php echo CString::str_ireplace("'", "", $video->title); ?>',
			        autoPlay: false,
			        autoBuffering: true,
			        provider: 'lighttpd',
			        scaling: "scale"
				}
			],

		    plugins: {
		        lighttpd: {
		            url: '<?php echo $playerPlugin; ?>',
		            queryString: escape('?target=${start}')
		        },
		        controls: {
		        	url: '<?php echo $playerControl; ?>'
		        }
		    }

		}
	);
</script>
to
<script type="text/javascript">
	flowplayer("player", {src: "<?php echo $playerFile; ?>", wmode:'opaque' },
		{
                        key: '#$7162d2d730cf607ac6d',
			streamingServer: 'lighttpd',

			playlist: [
				{
					url: '<?php echo $video->getThumbnail(); ?>',
                	scaling: 'scale'
				},
				{
					url: '<?php echo $video->getFlv(); ?>',
			    	title: '<?php echo CString::str_ireplace("'", "", $video->title); ?>',
			        autoPlay: false,
			        autoBuffering: true,
			        provider: 'lighttpd',
			        scaling: "scale"
				}
			],

		    plugins: {
		        lighttpd: {
		            url: '<?php echo $playerPlugin; ?>',
		            queryString: escape('?target=${start}')
		        },
		        controls: {
		        	url: '<?php echo $playerControl; ?>'
		        }
		    }

		}
	);
</script>

3. replace #$7162d2d730cf607ac6d with your license key

Regards

The following user(s) said Thank You: Didier
10 years 6 hours ago
  • Didier's Avatar
    Topic Author
  • Didier
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Fantastic :)
So many thanks for your prompt return Albertus.
Warm regards,
Didier.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW