Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jwplayer

Posted on 2010-11-24
4
1,043 Views
Last Modified: 2012-05-10
Hi i need to hide control bar in jwplayer. Maybe some one know how i can do it with this script

  var s1 = new SWFObject('core/plugin/player/player.swf','ads_players','448','294','9');
         s1.addParam('allowfullscreen','true');
         s1.addParam('allowscriptaccess','always');
         s1.addParam('logo','hide');
         s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4');
         s1.write('ads_player');
          jwplayer('ads_players').play(true);  
0
Comment
Question by:umaxim
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 500 total points
ID: 34203474
0
 
LVL 10

Expert Comment

by:hosneylk
ID: 34203516

s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4&controlbar=none');

Open in new window

0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 34203560
If it doesn't work, instead of
s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4&controlbar=none');

use this form:
s1.addVariable("file","http://kaykovtv.iwebpixels.com/video.mp4");
s1.addVariable("controlbar","none");
0
 
LVL 1

Author Comment

by:umaxim
ID: 34203866
Thank you it is works and i have one more question why when i try to use lightbox and
                     jwplayer('ads_players').onComplete(function() {
           $(document).ready(function(){
            $.colorbox.close()
            });
i got error jwplayer('ads_players'). is null
If i need create another question i will ?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Index on a Table 6 25
Add or delete table rows 10 53
iframe - style elements within an iframe 7 36
Html Newline 7 20
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 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