• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

Remove controls from FLV (Flowplayer)

Hi, I've been looking at this:  http://flowplayer.org/plugins/flash/controlbar.html

and can't figure out how to remove the controls here:
http   secure.funeralhomewebhosting.com/DMO/index.php

I know I need to use this: plugins {
    controls: null
}

I tried adding a style to the page, and tried adding it to the flowplayer code, but I must be tired because I can't make it work. Help?
0
mel200
Asked:
mel200
  • 2
  • 2
1 Solution
 
CyanBlueCommented:
Their documentation says use 'all: false'. Did you try it?
   http://flowplayer.org/plugins/flash/controlbar.html#visibilityAndButtons

CyanBlue
0
 
mel200Author Commented:
No, I didn't try that. Where do I put the styling? I'll upload the code snippet.


Sorry, didn't get the code snippet quite right, here it is again:

<script type="text/javascript" src="/tools/flowplayer/flowplayer-3.1.2.min.js"></script>

<script type="text/javascript">

document.writeln('<p><a style="display:block;width:960px;height:300px;" id="player" href="/siteimages/dmo/ocean.flv"></a></p>');
<script type="text/javascript"> 

document.writeln('<p><a style="display:block;width:960px;height:300px;" id="player" href="/siteimages/dmo/ocean.flv"></a></p>'); 

flowplayer("player", "/tools/flowplayer/flowplayer-3.1.2.swf"); 
</script>

Open in new window

0
 
CyanBlueCommented:
I just downloaded the file from the site and messed with it.

If you look at the index.html file, there is this block of code which probably is what you have in line 5 of above code.
<script>
	flowplayer("player", "../flowplayer-3.2.8.swf");
</script>

Open in new window

I simply changed it to this and I don't see the controls no more.
<script>
	flowplayer("player", "../flowplayer-3.2.8.swf", { plugins: { controls: null } });
</script>

Open in new window

See if this works for you.

CyanBlue
0
 
mel200Author Commented:
That's it, thanks!!
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now