Solved

jwplayer

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

786 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