Solved

Remove controls from FLV (Flowplayer)

Posted on 2012-03-30
4
554 Views
Last Modified: 2012-03-31
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
Comment
Question by:mel200
  • 2
  • 2
4 Comments
 
LVL 37

Expert Comment

by:CyanBlue
ID: 37791645
Their documentation says use 'all: false'. Did you try it?
   http://flowplayer.org/plugins/flash/controlbar.html#visibilityAndButtons

CyanBlue
0
 

Author Comment

by:mel200
ID: 37791949
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
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 37791983
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
 

Author Closing Comment

by:mel200
ID: 37792231
That's it, thanks!!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Alert after MVC form submitted 1 22
Html value of radio 14 31
asp.net open new page without popup blocker 8 19
Why is initialize not a function? 8 25
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question