?
Solved

jwplayer

Posted on 2010-11-24
4
Medium Priority
?
1,068 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
[X]
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
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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…
Suggested Courses

752 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