SocialEngine 4: Video Player Control Bar Doesn’t Function

Alter the FlowPlayer to pull the duration data from the database, rather from the video header. Note this technique may not be compatible with all FFMPEG/Apache version combinations.

Edit ./templates/video.tpl and change:

config: {
  clip: {
    url: '{/literal}{$url->url_base}{$video_info.video_dir|replace:'./':''}{$video_info.video_id}.flv{literal}',
    autoPlay: false,
    autoBuffering: true
  },

To

config: 
   { clip: { 
	url: '{/literal}{$url->url_base}{$video_info.video_dir|replace:'./':''}{$video_info.video_id}.flv{literal}', duration: {/literal}{$video_info.video_duration_in_sec}{literal}, 
	autoPlay: false, 
	autoBuffering: true 
      },

This should now fix any problems you have been having with the Control Bar.

Looking for quality Social Engine Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *


8 × 3 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>