Solved

jwplayer

Posted on 2010-11-24
4
1,021 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now